diff options
author | Iain Lane <iain.lane@canonical.com> | 2015-08-31 22:08:36 +0100 |
---|---|---|
committer | Iain Lane <iain.lane@canonical.com> | 2015-08-31 22:08:36 +0100 |
commit | 132ac93bbd4141824cfa22f6516366f953fce9a0 (patch) | |
tree | 50f5027ae0e7fc39aa96e5fde4eb6ee867c6455a /include/datetime | |
parent | ad2d17a82ebe369adca6b477d5ecb362e243f585 (diff) | |
download | ayatana-indicator-datetime-132ac93bbd4141824cfa22f6516366f953fce9a0.tar.gz ayatana-indicator-datetime-132ac93bbd4141824cfa22f6516366f953fce9a0.tar.bz2 ayatana-indicator-datetime-132ac93bbd4141824cfa22f6516366f953fce9a0.zip |
Use timedated's Timezone property instead of watching /etc/timezone
Still need to rename everything to not use "timezone-file"
Diffstat (limited to 'include/datetime')
-rw-r--r-- | include/datetime/timezone-file.h | 2 | ||||
-rw-r--r-- | include/datetime/timezones-live.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/datetime/timezone-file.h b/include/datetime/timezone-file.h index eca9c29..05dc7b0 100644 --- a/include/datetime/timezone-file.h +++ b/include/datetime/timezone-file.h @@ -34,7 +34,7 @@ namespace datetime { class FileTimezone: public Timezone { public: - FileTimezone(const std::string& filename); + FileTimezone(); ~FileTimezone(); private: diff --git a/include/datetime/timezones-live.h b/include/datetime/timezones-live.h index ca4ef31..49d9120 100644 --- a/include/datetime/timezones-live.h +++ b/include/datetime/timezones-live.h @@ -38,7 +38,7 @@ namespace datetime { class LiveTimezones: public Timezones { public: - LiveTimezones(const std::shared_ptr<const Settings>& settings, const std::string& filename); + LiveTimezones(const std::shared_ptr<const Settings>& settings); private: void update_geolocation(); |