[gnome-online-accounts] identity: Remove unused variables



commit 6e027143e47ace87510b376a784deeccb521c8a3
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Apr 9 14:44:46 2014 +0200

    identity: Remove unused variables
    
    Fallout from f4c3d303bf7ecc9e0cc6288d787c118365c1d34a
    
    Fixes: https://bugzilla.gnome.org/686416

 src/goaidentity/goaidentityservice.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index 9cf06ab..4c79600 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -43,9 +43,6 @@ struct _GoaIdentityServicePrivate
 
   GoaIdentityManager       *identity_manager;
 
-  guint                     realmd_watch;
-  GCancellable             *cancellable;
-
   GHashTable               *watched_client_connections;
   GHashTable               *key_holders;
   GHashTable               *pending_temporary_account_results;
@@ -1749,8 +1746,6 @@ goa_identity_service_activate (GoaIdentityService   *self,
 
   g_debug ("GoaIdentityService: Activating identity service");
 
-  self->priv->cancellable = g_cancellable_new ();
-
   self->priv->object_manager_server =
     g_dbus_object_manager_server_new ("/org/gnome/Identity");
 
@@ -1780,9 +1775,6 @@ goa_identity_service_deactivate (GoaIdentityService *self)
 {
   g_debug ("GoaIdentityService: Deactivating identity service");
 
-  if (self->priv->realmd_watch == 0)
-    g_bus_unwatch_name (self->priv->realmd_watch);
-
   if (self->priv->identity_manager != NULL)
     {
       g_signal_handlers_disconnect_by_func (self, on_identity_needs_renewal, self);
@@ -1794,7 +1786,6 @@ goa_identity_service_deactivate (GoaIdentityService *self)
   g_clear_object (&self->priv->object_manager_server);
   g_clear_object (&self->priv->connection);
   g_clear_object (&self->priv->client);
-  g_clear_object (&self->priv->cancellable);
 }
 
 static void


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