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:
David Zeuthen 2012-07-06 13:43:05 -04:00
parent ed492a5de2
commit d728eae85f

View File

@ -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'