[gdm/gnome-2-30] drop loading-users signal



commit 4f14649ec9a5b110de16a9dc1ee2f3c8efd27fd4
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 15 23:03:09 2010 -0400

    drop loading-users signal
    
    No one listens for it, so there's no point in having it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=610179

 gui/simple-greeter/gdm-user-manager.c |   10 ----------
 gui/simple-greeter/gdm-user-manager.h |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
index 5e72873..f1cd6b6 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -108,7 +108,6 @@ enum {
 };
 
 enum {
-        LOADING_USERS,
         USERS_LOADED,
         USER_ADDED,
         USER_REMOVED,
@@ -1450,7 +1449,6 @@ queue_load_users (GdmUserManager *manager)
                 return;
         }
 
-        g_signal_emit (G_OBJECT (manager), signals[LOADING_USERS], 0);
         manager->priv->load_id = g_idle_add ((GSourceFunc)load_users_idle, manager);
 }
 
@@ -1564,14 +1562,6 @@ gdm_user_manager_class_init (GdmUserManagerClass *klass)
                                                                FALSE,
                                                                G_PARAM_READABLE));
 
-        signals [LOADING_USERS] =
-                g_signal_new ("loading-users",
-                              G_TYPE_FROM_CLASS (klass),
-                              G_SIGNAL_RUN_LAST,
-                              G_STRUCT_OFFSET (GdmUserManagerClass, loading_users),
-                              NULL, NULL,
-                              g_cclosure_marshal_VOID__VOID,
-                              G_TYPE_NONE, 0);
         signals [USER_ADDED] =
                 g_signal_new ("user-added",
                               G_TYPE_FROM_CLASS (klass),
diff --git a/gui/simple-greeter/gdm-user-manager.h b/gui/simple-greeter/gdm-user-manager.h
index b2d0019..ffccea1 100644
--- a/gui/simple-greeter/gdm-user-manager.h
+++ b/gui/simple-greeter/gdm-user-manager.h
@@ -46,7 +46,6 @@ typedef struct
 {
         GObjectClass   parent_class;
 
-        void          (* loading_users)             (GdmUserManager *user_manager);
         void          (* users_loaded)              (GdmUserManager *user_manager);
         void          (* user_added)                (GdmUserManager *user_manager,
                                                      GdmUser        *user);



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