[glib: 6/11] Fix redefinition of local variable in gio/gactiongroupexporter.c




commit c324ce5c2abdbbffbb673e0d7774312416e51d95
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 18:28:46 2022 +0100

    Fix redefinition of local variable in gio/gactiongroupexporter.c

 gio/gactiongroupexporter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gactiongroupexporter.c b/gio/gactiongroupexporter.c
index d1c1903e84..28f018f8bf 100644
--- a/gio/gactiongroupexporter.c
+++ b/gio/gactiongroupexporter.c
@@ -545,12 +545,12 @@ g_dbus_connection_export_action_group (GDBusConnection  *connection,
 
   if G_UNLIKELY (org_gtk_Actions == NULL)
     {
-      GError *error = NULL;
+      GError *my_error = NULL;
       GDBusNodeInfo *info;
 
-      info = g_dbus_node_info_new_for_xml (org_gtk_Actions_xml, &error);
+      info = g_dbus_node_info_new_for_xml (org_gtk_Actions_xml, &my_error);
       if G_UNLIKELY (info == NULL)
-        g_error ("%s", error->message);
+        g_error ("%s", my_error->message);
       org_gtk_Actions = g_dbus_node_info_lookup_interface (info, "org.gtk.Actions");
       g_assert (org_gtk_Actions != NULL);
       g_dbus_interface_info_ref (org_gtk_Actions);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]