[gdm/accounts-service-split: 6/22] drop sessions_changed class member
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/accounts-service-split: 6/22] drop sessions_changed class member
- Date: Mon, 7 Jun 2010 22:25:02 +0000 (UTC)
commit 5dfb0d92923bede734900b362745c11744c095ad
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 15 14:22:47 2010 -0400
drop sessions_changed class member
We're never going to have a default handler, we aren't
going to have subclasses that need to chain up, so we don't
need the vfunc.
gui/simple-greeter/gdm-user.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 182ef72..3e0c61a 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -63,8 +63,6 @@ struct _GdmUser {
typedef struct _GdmUserClass
{
GObjectClass parent_class;
-
- void (* sessions_changed) (GdmUser *user);
} GdmUserClass;
static void gdm_user_finalize (GObject *object);
@@ -158,7 +156,7 @@ gdm_user_class_init (GdmUserClass *class)
g_signal_new ("sessions-changed",
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GdmUserClass, sessions_changed),
+ 0,
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]