aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-18 16:58:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-18 16:58:51 +0200
commitaea9abefb99d81abf48197bcfc45852ff247bb28 (patch)
treebfec00a17c4cd117576b6cbe8160f07c1d1a764f /src/main.cpp
parent6eac66d1ca86cbf85204b93f36b3ebe7082498b5 (diff)
parentb917e4ce17bc30772792a475af2eb0c64ae9f47b (diff)
downloadayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.tar.gz
ayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.tar.bz2
ayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.zip
Merge branch 'tari01-master'
Attributes GH PR #3: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/3
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fdd84b5..0da55a2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,6 +25,7 @@
#include <datetime/exporter.h>
#include <datetime/locations-settings.h>
#include <datetime/menu.h>
+#include <datetime/myself.h>
#include <datetime/planner-aggregate.h>
#include <datetime/planner-snooze.h>
#include <datetime/planner-range.h>
@@ -60,7 +61,7 @@ namespace
if (!g_strcmp0("lightdm", g_get_user_name()))
engine.reset(new MockEngine);
else
- engine.reset(new EdsEngine);
+ engine.reset(new EdsEngine(std::shared_ptr<Myself>(new Myself)));
return engine;
}