mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
gio: Use G_VALUE_INIT
This commit is contained in:
@@ -2086,7 +2086,7 @@ class CodeGenerator:
|
||||
' guint num_extra;\n'
|
||||
' guint n;\n'
|
||||
' guint signal_id;\n'
|
||||
' GValue return_value = {0};\n'
|
||||
' GValue return_value = G_VALUE_INIT;\n'
|
||||
%(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
|
||||
self.c.write(' info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);\n'
|
||||
' g_assert (info != NULL);\n'
|
||||
@@ -2149,7 +2149,7 @@ class CodeGenerator:
|
||||
' gpointer user_data)\n'
|
||||
'{\n'
|
||||
' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
|
||||
' GValue value = {0};\n'
|
||||
' GValue value = G_VALUE_INIT;\n'
|
||||
' GParamSpec *pspec;\n'
|
||||
' _ExtendedGDBusPropertyInfo *info;\n'
|
||||
' GVariant *ret;\n'
|
||||
@@ -2186,7 +2186,7 @@ class CodeGenerator:
|
||||
' gpointer user_data)\n'
|
||||
'{\n'
|
||||
' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
|
||||
' GValue value = {0};\n'
|
||||
' GValue value = G_VALUE_INIT;\n'
|
||||
' GParamSpec *pspec;\n'
|
||||
' _ExtendedGDBusPropertyInfo *info;\n'
|
||||
' gboolean ret;\n'
|
||||
|
Reference in New Issue
Block a user