aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-07-11 00:11:05 +0200
committerRobert Tari <robert@tari.in>2020-07-17 18:02:32 +0200
commitb917e4ce17bc30772792a475af2eb0c64ae9f47b (patch)
treebfec00a17c4cd117576b6cbe8160f07c1d1a764f /src/main.cpp
parent6eac66d1ca86cbf85204b93f36b3ebe7082498b5 (diff)
downloadayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.tar.gz
ayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.tar.bz2
ayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.zip
-Made GCC 10.1.0 friendly
-Fixed to work with ECal 2.0 -Added libaccounts-glib dependency -Added mate-time-admin handler
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;
}