aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-completion.h
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-09-06 13:47:37 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-09-06 13:47:37 +0100
commitc46efc32201b7aa3e876aea5a834a1401eb48077 (patch)
tree6a34997d5f05afbd909086b9134c6444d1da150a /src/timezone-completion.h
parent1ab5a36d28ea2d3bac39534de9c18a95bfcb0670 (diff)
downloadayatana-indicator-datetime-c46efc32201b7aa3e876aea5a834a1401eb48077.tar.gz
ayatana-indicator-datetime-c46efc32201b7aa3e876aea5a834a1401eb48077.tar.bz2
ayatana-indicator-datetime-c46efc32201b7aa3e876aea5a834a1401eb48077.zip
timezone-completion: Use private pointer instead GET_PRIV macro
Diffstat (limited to 'src/timezone-completion.h')
-rw-r--r--src/timezone-completion.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/timezone-completion.h b/src/timezone-completion.h
index fdfb234..1592d79 100644
--- a/src/timezone-completion.h
+++ b/src/timezone-completion.h
@@ -34,15 +34,18 @@ G_BEGIN_DECLS
#define IS_TIMEZONE_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TIMEZONE_COMPLETION_TYPE))
#define TIMEZONE_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TIMEZONE_COMPLETION_TYPE, TimezoneCompletionClass))
-typedef struct _TimezoneCompletion TimezoneCompletion;
-typedef struct _TimezoneCompletionClass TimezoneCompletionClass;
-
-struct _TimezoneCompletionClass {
- GtkEntryCompletionClass parent_class;
-};
+typedef struct _TimezoneCompletion TimezoneCompletion;
+typedef struct _TimezoneCompletionPrivate TimezoneCompletionPrivate;
+typedef struct _TimezoneCompletionClass TimezoneCompletionClass;
struct _TimezoneCompletion {
GtkEntryCompletion parent;
+
+ TimezoneCompletionPrivate *priv;
+};
+
+struct _TimezoneCompletionClass {
+ GtkEntryCompletionClass parent_class;
};
#define TIMEZONE_COMPLETION_ZONE 0
@@ -53,7 +56,7 @@ struct _TimezoneCompletion {
#define TIMEZONE_COMPLETION_LATITUDE 5
#define TIMEZONE_COMPLETION_LAST 6
-GType timezone_completion_get_type (void);
+GType timezone_completion_get_type (void) G_GNUC_CONST;
TimezoneCompletion * timezone_completion_new ();
void timezone_completion_watch_entry (TimezoneCompletion * completion, GtkEntry * entry);