diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-07-19 09:39:47 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-07-19 09:39:47 +1000 |
commit | e0a1013096bd42183f15c94ba5e81981938a647d (patch) | |
tree | 84ca94c8533c146048495736b2bfaa74a978e8af /liblightdm-gobject/lightdm/user.h | |
parent | f5913d33132c953c37a04f478b193c940f115e67 (diff) | |
download | lightdm-e0a1013096bd42183f15c94ba5e81981938a647d.tar.gz |
Remove priv variables from liblightdm-gobject
Diffstat (limited to 'liblightdm-gobject/lightdm/user.h')
-rw-r--r-- | liblightdm-gobject/lightdm/user.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/liblightdm-gobject/lightdm/user.h b/liblightdm-gobject/lightdm/user.h index c3a75b4f..0f8f31b1 100644 --- a/liblightdm-gobject/lightdm/user.h +++ b/liblightdm-gobject/lightdm/user.h @@ -23,21 +23,15 @@ G_BEGIN_DECLS #define LDM_IS_USER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LDM_TYPE_USER)) #define LDM_USER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LDM_TYPE_USER, LdmUserClass)) -typedef struct _LdmUser LdmUser; -typedef struct _LdmUserClass LdmUserClass; -typedef struct _LdmUserPrivate LdmUserPrivate; - -struct _LdmUser +typedef struct { - GObject parent_instance; - /*<private>*/ - LdmUserPrivate *priv; -}; + GObject parent_instance; +} LdmUser; -struct _LdmUserClass +typedef struct { GObjectClass parent_class; -}; +} LdmUserClass; GType ldm_user_get_type (void); |