aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-12 12:03:36 -0500
committerRobert Tari <robert@tari.in>2021-07-06 00:38:36 +0200
commitad95b394c94c9ba958d54c5243f376e7854683b8 (patch)
tree1fadaa1cf8e7fbfcc2ee351ded51c8faab8da8f9 /include/datetime
parent5c53bbf1552457307fecb8099e0623f078bd68fb (diff)
downloadayatana-indicator-datetime-ad95b394c94c9ba958d54c5243f376e7854683b8.tar.gz
ayatana-indicator-datetime-ad95b394c94c9ba958d54c5243f376e7854683b8.tar.bz2
ayatana-indicator-datetime-ad95b394c94c9ba958d54c5243f376e7854683b8.zip
in TimedatedTimezone, take a GDBusConnection argument in the ctor to simplify state management
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/timezone-timedated.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/datetime/timezone-timedated.h b/include/datetime/timezone-timedated.h
index 0857706..e0af184 100644
--- a/include/datetime/timezone-timedated.h
+++ b/include/datetime/timezone-timedated.h
@@ -22,6 +22,8 @@
#include <datetime/timezone.h> // base class
+#include <gio/gio.h> // GDBusConnection*
+
#include <string> // std::string
namespace ayatana {
@@ -34,7 +36,7 @@ namespace datetime {
class TimedatedTimezone: public Timezone
{
public:
- TimedatedTimezone();
+ TimedatedTimezone(GDBusConnection* connection);
~TimedatedTimezone();
private: