[gdm] Actually drop cancellable



commit bd6f8be16995cefea09a57fec20ae9b201826f1d
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jun 25 13:39:24 2010 -0400

    Actually drop cancellable
    
    Previously, I dropped the variable, but not
    some other parts.  This commit fixes that up.

 gui/simple-greeter/gdm-user-manager.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
index bf91832..2ce1f81 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -1823,7 +1823,7 @@ schedule_reload_passwd (GdmUserManager *manager)
                                  passwd_data,
                                  NULL,
                                  G_PRIORITY_DEFAULT,
-                                 manager->priv->cancellable);
+                                 NULL);
 }
 
 static void
@@ -2258,8 +2258,6 @@ gdm_user_manager_init (GdmUserManager *manager)
                 return;
         }
 
-        manager->priv->cancellable = g_cancellable_new ();
-
         get_seat_proxy (manager);
         get_accounts_proxy (manager);
         queue_load_users (manager);
@@ -2282,11 +2280,6 @@ gdm_user_manager_finalize (GObject *object)
                 signal_pid (manager->priv->ck_history_pid, SIGTERM);
         }
 
-        if (manager->priv->cancellable != NULL) {
-                g_object_unref (manager->priv->cancellable);
-                manager->priv->cancellable = NULL;
-        }
-
         if (manager->priv->exclude_usernames != NULL) {
                 g_slist_foreach (manager->priv->exclude_usernames, (GFunc) g_free, NULL);
                 g_slist_free (manager->priv->exclude_usernames);



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