[gdm/accounts-service-split: 9/22] drop loading-users signal
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/accounts-service-split: 9/22] drop loading-users signal
- Date: Mon, 7 Jun 2010 22:25:17 +0000 (UTC)
commit ab2ca579a1e7b5dc468d020f67ceb97f65f4253a
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.
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 aadb147..69787fa 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -101,7 +101,6 @@ struct GdmUserManagerPrivate
};
enum {
- LOADING_USERS,
USERS_LOADED,
USER_ADDED,
USER_REMOVED,
@@ -1499,7 +1498,6 @@ queue_reload_users (GdmUserManager *manager)
return;
}
- g_signal_emit (G_OBJECT (manager), signals[LOADING_USERS], 0);
manager->priv->reload_id = g_idle_add ((GSourceFunc)reload_users_timeout, manager);
}
@@ -1565,14 +1563,6 @@ gdm_user_manager_class_init (GdmUserManagerClass *klass)
object_class->finalize = gdm_user_manager_finalize;
- 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 [USERS_LOADED] =
g_signal_new ("users-loaded",
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]