X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=girepository%2Fginfo.c;h=e39361794ad1a89ab0e5b26823e6d0dbba33ccb9;hb=5583d7ec3b1bf52830505acda09c9ca8fbd07ef1;hp=2d777e3ef4f3641a69deea774bb2674d8db7608f;hpb=1acef442a0fd44d5a1aedab3e78bac409c4fb322;p=gnome.gobject-introspection diff --git a/girepository/ginfo.c b/girepository/ginfo.c index 2d777e3..e393617 100644 --- a/girepository/ginfo.c +++ b/girepository/ginfo.c @@ -619,8 +619,8 @@ signature_offset (GICallableInfo *info) GITypeInfo * g_type_info_new (GIBaseInfo *container, - GTypelib *typelib, - guint32 offset) + GTypelib *typelib, + guint32 offset) { SimpleTypeBlob *type = (SimpleTypeBlob *)&typelib->data[offset]; @@ -758,7 +758,7 @@ g_callable_info_get_n_args (GICallableInfo *info) */ GIArgInfo * g_callable_info_get_arg (GICallableInfo *info, - gint n) + gint n) { GIRealInfo *rinfo = (GIRealInfo *)info; Header *header = (Header *)rinfo->typelib->data; @@ -767,7 +767,7 @@ g_callable_info_get_arg (GICallableInfo *info, offset = signature_offset (info); return (GIArgInfo *) g_info_new (GI_INFO_TYPE_ARG, (GIBaseInfo*)info, rinfo->typelib, - offset + header->signature_blob_size + n * header->arg_blob_size); + offset + header->signature_blob_size + n * header->arg_blob_size); } /** @@ -1351,7 +1351,7 @@ find_method (GIBaseInfo *base, if (strcmp (name, fname) == 0) return (GIFunctionInfo *) g_info_new (GI_INFO_TYPE_FUNCTION, base, - rinfo->typelib, offset); + rinfo->typelib, offset); offset += header->function_blob_size; }