aboutsummaryrefslogtreecommitdiff
path: root/src/app-section.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-06-04 11:06:31 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-06-04 11:06:31 +0200
commit7eae3f378e7d1b3bf4cc291649dfb35b8e2b93eb (patch)
tree9a7c854e929fbd34f5115f938651141dc98cab39 /src/app-section.h
parent806686a1635bcd72c6e509a85ce8af9246ea551c (diff)
downloadayatana-indicator-messages-7eae3f378e7d1b3bf4cc291649dfb35b8e2b93eb.tar.gz
ayatana-indicator-messages-7eae3f378e7d1b3bf4cc291649dfb35b8e2b93eb.tar.bz2
ayatana-indicator-messages-7eae3f378e7d1b3bf4cc291649dfb35b8e2b93eb.zip
app-section: replace G_TYPE_INSTANCE_GET_PRIVATE calls with a priv member
Diffstat (limited to 'src/app-section.h')
-rw-r--r--src/app-section.h7
1 files changed, 5 insertions, 2 deletions
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);