gtk.cfg: Add missing function configurations reported by daca@home

Add configuration for some g_value_*() functions and for
g_variant_unref().
This commit is contained in:
versat 2019-10-09 14:10:18 +02:00
parent 273a1a7402
commit 7e8ee31678
1 changed files with 299 additions and 0 deletions

View File

@ -553,6 +553,7 @@
<alloc init="true">g_uri_unescape_segment</alloc>
<alloc init="true">g_uri_unescape_string</alloc>
<alloc init="true">g_variant_type_dup_string</alloc>
<alloc init="true">g_value_dup_string</alloc>
<use>g_register_data</use>
<dealloc>g_free</dealloc>
</memory>
@ -1799,6 +1800,295 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- void g_value_copy (const GValue *src_value, GValue *dest_value); -->
<function name="g_value_copy">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="out">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- gchar * g_value_dup_string (const GValue *value); -->
<function name="g_value_dup_string">
<noreturn>false</noreturn>
<returnValue type="gchar *"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- gboolean g_value_get_boolean (const GValue *value); -->
<function name="g_value_get_boolean">
<noreturn>false</noreturn>
<returnValue type="gboolean"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- gdouble g_value_get_double (const GValue *value); -->
<function name="g_value_get_double">
<noreturn>false</noreturn>
<returnValue type="gdouble"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- gint g_value_get_int (const GValue *value); -->
<function name="g_value_get_int">
<noreturn>false</noreturn>
<returnValue type="gint"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- gpointer g_value_get_object (const GValue *value); -->
<function name="g_value_get_object">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- gpointer g_value_get_pointer (const GValue *value); -->
<function name="g_value_get_pointer">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- const gchar * g_value_get_string (const GValue *value); -->
<function name="g_value_get_string">
<noreturn>false</noreturn>
<returnValue type="const gchar *"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- guint g_value_get_uint (const GValue *value); -->
<function name="g_value_get_uint">
<noreturn>false</noreturn>
<returnValue type="guint"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- guint64 g_value_get_uint64 (const GValue *value); -->
<function name="g_value_get_uint64">
<noreturn>false</noreturn>
<returnValue type="guint64"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!-- GValue * g_value_init (GValue *value, GType g_type); -->
<function name="g_value_init">
<noreturn>false</noreturn>
<returnValue type="GValue *">arg1</returnValue>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void g_value_set_boolean (GValue *value, gboolean v_boolean); -->
<function name="g_value_set_boolean">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void g_value_set_double (GValue *value, gdouble v_double); -->
<function name="g_value_set_double">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_int (GValue *value, gint v_int); -->
<function name="g_value_set_int">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void g_value_set_object (GValue *value, gpointer v_object); -->
<function name="g_value_set_object">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_object_take_ownership (GValue *value, gpointer v_object); -->
<function name="g_value_set_object_take_ownership">
<noreturn>false</noreturn>
<returnValue type="void"/>
<warn severity="style" reason="Obsolete" alternatives="g_value_take_object">g_value_set_object_take_ownership has been deprecated since version 2.4 and should not be used in newly-written code. Use g_value_take_object() instead.</warn>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_pointer (GValue *value, gpointer v_pointer); -->
<function name="g_value_set_pointer">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_static_string (GValue *value, const gchar *v_string); -->
<!-- void g_value_set_string (GValue *value, const gchar *v_string); -->
<function name="g_value_set_static_string,g_value_set_string">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_string_take_ownership (GValue *value, gchar *v_string); -->
<function name="g_value_set_string_take_ownership">
<noreturn>false</noreturn>
<returnValue type="void"/>
<warn severity="style" reason="Obsolete" alternatives="g_value_take_string">g_value_set_string_take_ownership has been deprecated since version 2.4 and should not be used in newly-written code. Use g_value_take_string() instead.</warn>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_set_uint (GValue *value, guint v_uint); -->
<function name="g_value_set_uint">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_take_object (GValue *value, gpointer v_object); -->
<function name="g_value_take_object">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_take_string (GValue *value, gchar *v_string); -->
<function name="g_value_take_string">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_value_unset (GValue *value); -->
<function name="g_value_unset">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="out">
<not-null/>
<not-bool/>
</arg>
</function>
<function name="g_variant_is_object_path">
<leak-ignore/>
<noreturn>false</noreturn>
@ -1823,6 +2113,15 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- void g_variant_unref (GVariant *value); -->
<function name="g_variant_unref">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
</function>
<function name="g_access">
<leak-ignore/>
<noreturn>false</noreturn>