From 7eae3f378e7d1b3bf4cc291649dfb35b8e2b93eb Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 4 Jun 2012 11:06:31 +0200 Subject: app-section: replace G_TYPE_INSTANCE_GET_PRIVATE calls with a priv member --- src/app-section.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/app-section.h') diff --git a/src/app-section.h b/src/app-section.h index 24074b8..1ef191a 100644 --- a/src/app-section.h +++ b/src/app-section.h @@ -33,8 +33,10 @@ G_BEGIN_DECLS #define IS_APP_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APP_SECTION_TYPE)) #define APP_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APP_SECTION_TYPE, AppSectionClass)) -typedef struct _AppSection AppSection; -typedef struct _AppSectionClass AppSectionClass; +typedef struct _AppSection AppSection; +typedef struct _AppSectionClass AppSectionClass; +typedef struct _AppSectionPrivate AppSectionPrivate; + struct _AppSectionClass { GObjectClass parent_class; @@ -42,6 +44,7 @@ struct _AppSectionClass { struct _AppSection { GObject parent; + AppSectionPrivate *priv; }; GType app_section_get_type (void); -- cgit v1.2.3