aboutsummaryrefslogtreecommitdiff
path: root/src/greeter.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-20 17:09:14 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-04-20 17:09:14 -0500
commitcb46051005d5d9d1f21d7cb82b9fffd21f88c4c9 (patch)
tree78edd967c7357fc6a4b7e12da10d29dc0d9055cb /src/greeter.h
parente683501043c00810558db55461b49c66ecf1aa0b (diff)
downloadayatana-indicator-display-cb46051005d5d9d1f21d7cb82b9fffd21f88c4c9.tar.gz
ayatana-indicator-display-cb46051005d5d9d1f21d7cb82b9fffd21f88c4c9.tar.bz2
ayatana-indicator-display-cb46051005d5d9d1f21d7cb82b9fffd21f88c4c9.zip
watch for the Greeter to appear on the bus
Diffstat (limited to 'src/greeter.h')
-rw-r--r--src/greeter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/greeter.h b/src/greeter.h
index e084d25..6707c4f 100644
--- a/src/greeter.h
+++ b/src/greeter.h
@@ -21,6 +21,8 @@
#include <core/property.h>
+#include <gio/gio.h>
+
#include <memory>
#include <string>
@@ -36,7 +38,7 @@ public:
class UnityGreeter: public Greeter
{
public:
- UnityGreeter();
+ explicit UnityGreeter(GDBusConnection* connection);
virtual ~UnityGreeter();
core::Property<bool>& is_active() override;