[gnome-settings-daemon] color: initialize the manager's cancellable
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: initialize the manager's cancellable
- Date: Tue, 22 Aug 2017 16:59:57 +0000 (UTC)
commit fa1f9b732e755e052fb6a0a73a4fb295a344eb19
Author: Christian Kellner <christian kellner me>
Date: Tue Aug 22 17:32:17 2017 +0200
color: initialize the manager's cancellable
The infrastructure to use a GCancellable during g_bus_get is
present but the corresponding member bus_cancellable is never
allocated.
https://bugzilla.gnome.org/show_bug.cgi?id=786616
plugins/color/gsd-color-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 393f43c..d46c592 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -432,6 +432,7 @@ register_manager_dbus (GsdColorManager *manager)
priv->introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL);
g_assert (priv->introspection_data != NULL);
+ priv->bus_cancellable = g_cancellable_new ();
g_bus_get (G_BUS_TYPE_SESSION,
priv->bus_cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]