[gdm] user-manager: move class typedef to header
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] user-manager: move class typedef to header
- Date: Fri, 8 Oct 2010 02:05:21 +0000 (UTC)
commit 05023aa201116e31840ad77e8de582f29912346e
Author: Ray Strode <rstrode redhat com>
Date: Wed Oct 6 11:20:10 2010 -0400
user-manager: move class typedef to header
g-ir-scanner gets confused otherwise.
gui/simple-greeter/gdm-user.c | 4 ++--
gui/simple-greeter/gdm-user.h | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 4131772..856ce84 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -75,10 +75,10 @@ struct _GdmUser {
guint is_loaded : 1;
};
-typedef struct _GdmUserClass
+struct _GdmUserClass
{
GObjectClass parent_class;
-} GdmUserClass;
+};
static void gdm_user_finalize (GObject *object);
static gboolean check_user_file (const char *filename);
diff --git a/gui/simple-greeter/gdm-user.h b/gui/simple-greeter/gdm-user.h
index 4d6ced8..84d2673 100644
--- a/gui/simple-greeter/gdm-user.h
+++ b/gui/simple-greeter/gdm-user.h
@@ -36,6 +36,7 @@ G_BEGIN_DECLS
#define GDM_IS_USER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDM_TYPE_USER))
typedef struct _GdmUser GdmUser;
+typedef struct _GdmUserClass GdmUserClass;
GType gdm_user_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]