[gdm] drop sessions_changed class member
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] drop sessions_changed class member
- Date: Fri, 11 Jun 2010 00:18:14 +0000 (UTC)
commit bbfc2baf28ca294c042b41fe99f0a3adfffebc36
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.
https://bugzilla.gnome.org/show_bug.cgi?id=610179
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 c2faf0f..d8bd069 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -62,8 +62,6 @@ struct _GdmUser {
typedef struct _GdmUserClass
{
GObjectClass parent_class;
-
- void (* sessions_changed) (GdmUser *user);
} GdmUserClass;
static void gdm_user_finalize (GObject *object);
@@ -157,7 +155,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]