diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-15 21:02:48 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-09-15 21:02:48 +0000 |
commit | 851e7e1493ad8268ccef813cb1cc0f7597ee3560 (patch) | |
tree | 47c0598e5ac78fd037fe12f010f56948c984a1f3 /include/datetime/clock.h | |
parent | f337a0fd3b8040d83b2433a8076f70fea345edad (diff) | |
parent | c0055ef9118a7a284b26d164617985236a2d432a (diff) | |
download | ayatana-indicator-datetime-851e7e1493ad8268ccef813cb1cc0f7597ee3560.tar.gz ayatana-indicator-datetime-851e7e1493ad8268ccef813cb1cc0f7597ee3560.tar.bz2 ayatana-indicator-datetime-851e7e1493ad8268ccef813cb1cc0f7597ee3560.zip |
Update the time strings when a powerd Wakeup signal is detected. Fixes: 1359802
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'include/datetime/clock.h')
-rw-r--r-- | include/datetime/clock.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/datetime/clock.h b/include/datetime/clock.h index 1d488d1..0b2a543 100644 --- a/include/datetime/clock.h +++ b/include/datetime/clock.h @@ -55,12 +55,9 @@ protected: void maybe_emit (const DateTime& a, const DateTime& b); private: - static void on_system_bus_ready(GObject*, GAsyncResult*, gpointer); - static void on_prepare_for_sleep(GDBusConnection*, const gchar*, const gchar*, const gchar*, const gchar*, GVariant*, gpointer); - - GCancellable * m_cancellable = nullptr; - GDBusConnection * m_system_bus = nullptr; - unsigned int m_sleep_subscription_id = 0; + class Impl; + friend class Impl; + std::unique_ptr<Impl> m_impl; // we've got raw pointers and GSignal tags in here, so disable copying Clock(const Clock&) =delete; |