[gnome-online-accounts/wip/rishi/templates: 5/8] daemon: Remove unused instance variables



commit 5df0d9d43af79923f6af616bb8dac8b753792dae
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Sep 1 18:24:26 2016 +0200

    daemon: Remove unused instance variables
    
    Fall out from 695f81ff8ca23b0532c97902923ba203634406b7
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771366

 src/daemon/goadaemon.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 321292d..b000f0b 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -37,9 +37,7 @@ struct _GoaDaemon
 
   GDBusConnection *connection;
 
-  GFileMonitor *system_conf_dir_monitor;
   GFileMonitor *home_conf_file_monitor;
-  GFileMonitor *home_conf_dir_monitor;
   gchar *home_conf_file_path;
 
   GNetworkMonitor *network_monitor;
@@ -151,16 +149,6 @@ goa_daemon_finalize (GObject *object)
       g_source_remove (self->credentials_timeout_id);
     }
 
-  if (self->system_conf_dir_monitor != NULL)
-    {
-      g_signal_handlers_disconnect_by_func (self->system_conf_dir_monitor, on_file_monitor_changed, self);
-      g_object_unref (self->system_conf_dir_monitor);
-    }
-  if (self->home_conf_dir_monitor != NULL)
-    {
-      g_signal_handlers_disconnect_by_func (self->home_conf_dir_monitor, on_file_monitor_changed, self);
-      g_object_unref (self->home_conf_dir_monitor);
-    }
   if (self->home_conf_file_monitor != NULL)
     {
       g_signal_handlers_disconnect_by_func (self->home_conf_file_monitor, on_file_monitor_changed, self);


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