[gdm/gnome-2-30] drop sessions_changed class member
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-2-30] drop sessions_changed class member
- Date: Fri, 11 Jun 2010 01:50:44 +0000 (UTC)
commit b6fcbdbbfccdff4f692cb0cda6fabb183a5341c5
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]