From 080ac0dad0198ec3be067e5f05300caa48054b51 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sat, 22 Jul 2017 01:15:36 -0400 Subject: libmate-panel-applet: fix error in unregistering dbus object One portion of https://github.com/GNOME/gnome-panel/commit/0c3844c0e5f1bee5885d2c7aeaa49763e6708f6d got left out --- libmate-panel-applet/mate-panel-applet-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmate-panel-applet/mate-panel-applet-factory.c b/libmate-panel-applet/mate-panel-applet-factory.c index 370a4124..57e5a0c2 100644 --- a/libmate-panel-applet/mate-panel-applet-factory.c +++ b/libmate-panel-applet/mate-panel-applet-factory.c @@ -281,7 +281,8 @@ on_bus_acquired (GDBusConnection *connection, if (!introspection_data) introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL); object_path = g_strdup_printf (MATE_PANEL_APPLET_FACTORY_OBJECT_PATH, factory->factory_id); - g_dbus_connection_register_object (connection, + factory->connection = connection; + factory->registration_id = g_dbus_connection_register_object (connection, object_path, introspection_data->interfaces[0], &interface_vtable, -- cgit v1.2.1