aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-22 11:29:10 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-22 11:29:10 -0600
commit9ea8a269f3c984901e721e8bb0c796942bffb082 (patch)
tree3ec2a86283275b4e35071ea44d16d55907736980 /src
parent08b1cfd6bc97cae18b916d97a03781986e7421fe (diff)
downloadayatana-indicator-datetime-9ea8a269f3c984901e721e8bb0c796942bffb082.tar.gz
ayatana-indicator-datetime-9ea8a269f3c984901e721e8bb0c796942bffb082.tar.bz2
ayatana-indicator-datetime-9ea8a269f3c984901e721e8bb0c796942bffb082.zip
Remove the Timezones property from Clock; it's only needed by the subclass LiveClock
Diffstat (limited to 'src')
-rw-r--r--src/clock-live.cpp1
-rw-r--r--src/clock.cpp5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/clock-live.cpp b/src/clock-live.cpp
index 1fadfe8..25623ae 100644
--- a/src/clock-live.cpp
+++ b/src/clock-live.cpp
@@ -18,6 +18,7 @@
*/
#include <datetime/clock.h>
+#include <datetime/timezones.h>
namespace unity {
namespace indicator {
diff --git a/src/clock.cpp b/src/clock.cpp
index f3f5d70..7c3b8c7 100644
--- a/src/clock.cpp
+++ b/src/clock.cpp
@@ -34,11 +34,6 @@ Clock::Clock():
m_cancellable(g_cancellable_new())
{
g_bus_get(G_BUS_TYPE_SYSTEM, m_cancellable, onSystemBusReady, this);
-
- timezones.changed().connect([this](const std::set<std::string>& timezones){
- g_message ("timezones changed... new count is %d", (int)timezones.size());
- skewDetected();
- });
}
Clock::~Clock()