gtk.cfg: Add more g_object_* functions

Found by daca@home
This commit is contained in:
versat 2019-07-12 12:10:45 +02:00
parent 68cc7516a1
commit 2f1d828b0c
1 changed files with 224 additions and 0 deletions

View File

@ -2647,6 +2647,117 @@
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- void g_object_add_weak_pointer (GObject *object, gpointer *weak_pointer_location); -->
<function name="g_object_add_weak_pointer">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="inout">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- void g_object_class_install_property (GObjectClass *oclass,
guint property_id,
GParamSpec *pspec); -->
<function name="g_object_class_install_property">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- void g_object_class_install_properties (GObjectClass *oclass,
guint n_pspecs,
GParamSpec **pspecs); -->
<function name="g_object_class_install_properties">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- void g_object_class_override_property (GObjectClass *oclass,
guint property_id,
const gchar *name); -->
<function name="g_object_class_override_property">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-null/>
<not-uninit/>
<strz/>
<not-bool/>
</arg>
</function>
<!-- void g_object_disconnect (gpointer object, const gchar *signal_spec, ...); -->
<function name="g_object_disconnect">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="variadic">
<not-uninit/>
</arg>
</function>
<!-- void g_object_get (gpointer object, const gchar *first_property_name, ...); -->
<function name="g_object_get">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3" direction="out">
<not-null/>
</arg>
<arg nr="variadic"/>
</function>
<!-- gpointer g_object_get_data (GObject *object, const gchar *key); --> <!-- gpointer g_object_get_data (GObject *object, const gchar *key); -->
<function name="g_object_get_data"> <function name="g_object_get_data">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -2659,6 +2770,85 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- gpointer g_object_new (GType object_type, const gchar *first_property_name, ...); -->
<function name="g_object_new">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
<arg nr="variadic" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void g_object_notify (GObject *object, const gchar *property_name); -->
<function name="g_object_notify">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<!-- void g_object_notify_by_pspec (GObject *object, GParamSpec *pspec); -->
<function name="g_object_notify_by_pspec">
<noreturn>false</noreturn>
<returnValue type="false"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- gpointer g_object_ref (gpointer object); -->
<function name="g_object_ref">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- gpointer g_object_ref_sink (gpointer object); -->
<function name="g_object_ref_sink">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- void g_object_remove_weak_pointer (GObject *object, gpointer *weak_pointer_location); -->
<function name="g_object_remove_weak_pointer">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="inout">
<not-null/>
</arg>
</function>
<!-- void g_object_set(gpointer object, const gchar *first_property_name, ...); --> <!-- void g_object_set(gpointer object, const gchar *first_property_name, ...); -->
<function name="g_object_set"> <function name="g_object_set">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -2703,6 +2893,40 @@
<not-bool/> <not-bool/>
</arg> </arg>
</function> </function>
<!-- void g_object_unref (gpointer object); -->
<function name="g_object_unref">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void g_object_weak_ref (GObject *object, GWeakNotify notify, gpointer data); -->
<function name="g_object_weak_ref">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2"/>
<arg nr="3"/>
</function>
<!-- void g_object_weak_unref (GObject *object, GWeakNotify notify, gpointer data); -->
<function name="g_object_weak_unref">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="g_on_error_query"> <function name="g_on_error_query">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>