aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-03-31 16:53:36 -0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit676b6c35768e707710a7121ed9f71002c6226bd7 (patch)
tree977ef722a17e907a2d79beb33f0581fe43dd16ae /src/main.cpp
parentb13d57194646736652610fd68793aa8f2a260566 (diff)
downloadayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.tar.gz
ayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.tar.bz2
ayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.zip
Update code as requested by reviewer.
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;
}