mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
gdbus-codegen: don't shadow variable
This avoids a warning when building with -Wshadow Signed-off-by: David Zeuthen <zeuthen@gmail.com>
This commit is contained in:
parent
ed492a5de2
commit
d728eae85f
@ -2420,15 +2420,15 @@ class CodeGenerator:
|
||||
' }\n'
|
||||
' if (num_changes > 0)\n'
|
||||
' {\n'
|
||||
' GList *connections, *l;\n'
|
||||
' GList *connections, *ll;\n'
|
||||
' GVariant *signal_variant;'
|
||||
'\n'
|
||||
' signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "%s",\n'
|
||||
' &builder, &invalidated_builder));\n'
|
||||
' connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));\n'
|
||||
' for (l = connections; l != NULL; l = l->next)\n'
|
||||
' for (ll = connections; ll != NULL; ll = ll->next)\n'
|
||||
' {\n'
|
||||
' GDBusConnection *connection = l->data;\n'
|
||||
' GDBusConnection *connection = ll->data;\n'
|
||||
'\n'
|
||||
' g_dbus_connection_emit_signal (connection,\n'
|
||||
' NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),\n'
|
||||
|
Loading…
Reference in New Issue
Block a user