diff options
author | Ted Gould <ted@gould.cx> | 2013-10-28 17:09:05 -0700 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-10-28 17:09:05 -0700 |
commit | 26283de417c1c3cb3456f1a893fe339056517d56 (patch) | |
tree | b6851a0f12bbeae649854fb5a4a8a85a54d800f1 /src/timezone.h | |
parent | 0fa8138427d8469eb2f6a90b0291dbdc4507c8fb (diff) | |
parent | 19ba64b479fd14d5192f0ec3dcc37fe33bde238b (diff) | |
download | ayatana-indicator-datetime-26283de417c1c3cb3456f1a893fe339056517d56.tar.gz ayatana-indicator-datetime-26283de417c1c3cb3456f1a893fe339056517d56.tar.bz2 ayatana-indicator-datetime-26283de417c1c3cb3456f1a893fe339056517d56.zip |
Merge trunk
Diffstat (limited to 'src/timezone.h')
-rw-r--r-- | src/timezone.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/timezone.h b/src/timezone.h index 076bedc..fa6593d 100644 --- a/src/timezone.h +++ b/src/timezone.h @@ -32,12 +32,11 @@ G_BEGIN_DECLS #define INDICATOR_IS_DATETIME_TIMEZONE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), INDICATOR_TYPE_DATETIME_TIMEZONE)) typedef struct _IndicatorDatetimeTimezone IndicatorDatetimeTimezone; +typedef struct _IndicatorDatetimeTimezonePriv IndicatorDatetimeTimezonePriv; typedef struct _IndicatorDatetimeTimezoneClass IndicatorDatetimeTimezoneClass; GType indicator_datetime_timezone_get_type (void); -#define INDICATOR_DATETIME_TIMEZONE_PROPERTY_TIMEZONE "timezone" - /** * Abstract Base Class for objects that provide a timezone. * @@ -51,14 +50,12 @@ struct _IndicatorDatetimeTimezone { /*< private >*/ GObject parent; + IndicatorDatetimeTimezonePriv * priv; }; struct _IndicatorDatetimeTimezoneClass { GObjectClass parent_class; - - /* virtual functions */ - const char * (*get_timezone) (IndicatorDatetimeTimezone * self); }; /*** @@ -67,7 +64,8 @@ struct _IndicatorDatetimeTimezoneClass const char * indicator_datetime_timezone_get_timezone (IndicatorDatetimeTimezone *); -void indicator_datetime_timezone_notify_timezone (IndicatorDatetimeTimezone *); +void indicator_datetime_timezone_set_timezone (IndicatorDatetimeTimezone *, + const char * new_timezone); G_END_DECLS |