From e897e7aa9fb18fc83d177acab1dd18e0284429a6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 12 May 2013 20:45:21 -0500 Subject: minor documentation & #include cleanups to the timezone classes --- src/timezone.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/timezone.h') diff --git a/src/timezone.h b/src/timezone.h index ac48e6e..cadeb6f 100644 --- a/src/timezone.h +++ b/src/timezone.h @@ -21,7 +21,7 @@ #define __INDICATOR_DATETIME_TIMEZONE__H__ #include -#include +#include /* parent class */ G_BEGIN_DECLS @@ -36,8 +36,17 @@ typedef struct _IndicatorDatetimeTimezoneClass IndicatorDatetimeTimezoneClass; GType indicator_datetime_timezone_get_type (void); +#define INDICATOR_DATETIME_TIMEZONE_PROPERTY_TIMEZONE "timezone" + /** - * Abstract Base Class for the mechanisms that determine timezone by location + * Abstract Base Class for objects that provide a timezone. + * + * This is used in datetime to determine the user's current timezone + * so that it can be displayed more prominently in the locations + * section of the indicator's menu. + * + * This class has a 'timezone' property that clients can watch + * for change notifications. */ struct _IndicatorDatetimeTimezone { @@ -57,8 +66,6 @@ struct _IndicatorDatetimeTimezoneClass **** ***/ -#define INDICATOR_DATETIME_TIMEZONE_PROPERTY_TIMEZONE "timezone" - const char * indicator_datetime_timezone_get_timezone (IndicatorDatetimeTimezone *); void indicator_datetime_timezone_notify_timezone (IndicatorDatetimeTimezone *); -- cgit v1.2.3