Fix redefinition of local variable in gio/gdbusobjectmanagerclient.c

This commit is contained in:
Loic Le Page 2022-01-19 18:31:09 +01:00 committed by Philip Withnall
parent 5223863922
commit c6a5021f48

View File

@ -1043,17 +1043,17 @@ signal_cb (GDBusConnection *connection,
{
if (g_strcmp0 (signal_name, "PropertiesChanged") == 0)
{
const gchar *interface_name;
const gchar *properties_interface_name;
GVariant *changed_properties;
const gchar **invalidated_properties;
g_variant_get (parameters,
"(&s@a{sv}^a&s)",
&interface_name,
&properties_interface_name,
&changed_properties,
&invalidated_properties);
interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object_proxy), interface_name);
interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object_proxy), properties_interface_name);
if (interface != NULL)
{
GVariantIter property_iter;