diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-17 17:48:06 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-10-17 17:48:06 -0500 |
commit | 758a4880f645242f1c7753990dc46f880a7e9de8 (patch) | |
tree | bfa255867fc7069223109ae530ea1b60009dce7b /src/clock.h | |
parent | bcc04892148c7396e638f45e96fcba42d0034ec7 (diff) | |
download | ayatana-indicator-datetime-758a4880f645242f1c7753990dc46f880a7e9de8.tar.gz ayatana-indicator-datetime-758a4880f645242f1c7753990dc46f880a7e9de8.tar.bz2 ayatana-indicator-datetime-758a4880f645242f1c7753990dc46f880a7e9de8.zip |
cleanup: dead code removal, fix comments, smaller implementation of update_internal_localtime()
Diffstat (limited to 'src/clock.h')
-rw-r--r-- | src/clock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clock.h b/src/clock.h index 8932895..0c10dab 100644 --- a/src/clock.h +++ b/src/clock.h @@ -55,7 +55,7 @@ struct _IndicatorDatetimeClockInterface /* virtual functions */ gchar** (*get_timezones) (IndicatorDatetimeClock * self); - GDateTime* (*get_current_time) (IndicatorDatetimeClock * self); + GDateTime* (*get_localtime) (IndicatorDatetimeClock * self); }; GType indicator_datetime_clock_get_type (void); @@ -66,7 +66,7 @@ GType indicator_datetime_clock_get_type (void); gchar ** indicator_datetime_clock_get_timezones (IndicatorDatetimeClock * clock); -GDateTime * indicator_datetime_clock_get_current_time (IndicatorDatetimeClock * clock); +GDateTime * indicator_datetime_clock_get_localtime (IndicatorDatetimeClock * clock); void indicator_datetime_clock_emit_changed (IndicatorDatetimeClock * clock); |