mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
girepository: Coding style fixes
Fixes commit 453dd4be9e
.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
453dd4be9e
commit
10177cf3ea
@ -843,7 +843,8 @@ gi_callable_info_class_init (gpointer g_class,
|
||||
}
|
||||
|
||||
static GICallableInfo *
|
||||
get_method_callable_info_for_index (GIBaseInfo *rinfo, unsigned int index)
|
||||
get_method_callable_info_for_index (GIBaseInfo *rinfo,
|
||||
unsigned int index)
|
||||
{
|
||||
GIBaseInfo *container = rinfo->container;
|
||||
|
||||
|
@ -1232,13 +1232,15 @@ get_index_for_function (GIIrTypelibBuild * build,
|
||||
if (parent == NULL)
|
||||
{
|
||||
uint16_t index = find_entry (build, name);
|
||||
if (index == 0) return -1;
|
||||
if (index == 0)
|
||||
return -1;
|
||||
|
||||
return index;
|
||||
}
|
||||
|
||||
int index = get_index_of_member_type ((GIIrNodeInterface *) parent, GI_IR_NODE_FUNCTION, name);
|
||||
if (index != -1) return index;
|
||||
if (index != -1)
|
||||
return index;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user