[gnome-settings-daemon/gnome-3-12] xsettings: Initialise GCancellable before using it



commit 20d32d67f6d5b3ea0554eafa79a40b9cee817f3b
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 25 12:15:59 2014 +0200

    xsettings: Initialise GCancellable before using it
    
    Otherwise, it just won't work...

 plugins/xsettings/gsd-remote-display-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-remote-display-manager.c b/plugins/xsettings/gsd-remote-display-manager.c
index d6fc3aa..8be925f 100644
--- a/plugins/xsettings/gsd-remote-display-manager.c
+++ b/plugins/xsettings/gsd-remote-display-manager.c
@@ -265,6 +265,7 @@ gsd_remote_display_manager_init (GsdRemoteDisplayManager *manager)
 {
 
         manager->priv = GSD_REMOTE_DISPLAY_MANAGER_GET_PRIVATE (manager);
+        manager->priv->cancellable = g_cancellable_new ();
 
         g_debug ("Starting remote-display manager");
 


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