Commit 21adb30a authored by Philip Withnall's avatar Philip Withnall

gtype: Clarify type of GInterfaceInitFunc

When passing a function to G_IMPLEMENT_INTERFACE, it actually has to
take two arguments. Who knew?
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent d4cc0b32
......@@ -1779,7 +1779,7 @@ guint g_type_get_type_registration_serial (void);
/**
* G_IMPLEMENT_INTERFACE:
* @TYPE_IFACE: The #GType of the interface to add
* @iface_init: The interface init function
* @iface_init: (type GInterfaceInitFunc): The interface init function, of type #GInterfaceInitFunc
*
* A convenience macro to ease interface addition in the `_C_` section
* of G_DEFINE_TYPE_WITH_CODE() or G_DEFINE_ABSTRACT_TYPE_WITH_CODE().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment