aboutsummaryrefslogtreecommitdiff
path: root/src/notifications.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-03 15:40:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-03 15:40:21 +0100
commit291efbd3b225c0760b9407370e1643c1b239aff8 (patch)
treefd81509cf38cea799e8f45da4a93f519b1fdf8c8 /src/notifications.cpp
parent87bbf6da491fbbaa5b0d4babe3d3ceb270820695 (diff)
parent22268331b662758c85847826fe7e94d9a000aa70 (diff)
downloadayatana-indicator-datetime-291efbd3b225c0760b9407370e1643c1b239aff8.tar.gz
ayatana-indicator-datetime-291efbd3b225c0760b9407370e1643c1b239aff8.tar.bz2
ayatana-indicator-datetime-291efbd3b225c0760b9407370e1643c1b239aff8.zip
Merge branch 'tari01-pr/add-lomiri-features-flag'
Attributes GH PR #82: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/82
Diffstat (limited to 'src/notifications.cpp')
-rw-r--r--src/notifications.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/notifications.cpp b/src/notifications.cpp
index f21b5e8..e38e5dc 100644
--- a/src/notifications.cpp
+++ b/src/notifications.cpp
@@ -1,5 +1,6 @@
/*
* Copyright 2014 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <notifications/notifications.h>
@@ -24,7 +26,7 @@
#include <messaging-menu/messaging-menu-app.h>
#include <messaging-menu/messaging-menu-message.h>
-#ifdef HAS_URLDISPATCHER
+#ifdef LOMIRI_FEATURES_ENABLED
#include <lomiri-url-dispatcher.h>
#endif
@@ -462,7 +464,7 @@ private:
static std::string calendar_app_id()
{
-#ifdef HAS_URLDISPATCHER
+#ifdef LOMIRI_FEATURES_ENABLED
auto urls = g_strsplit("calendar://", ",", 0);
auto appids = lomiri_url_dispatch_url_appid(const_cast<const gchar**>(urls));
g_strfreev(urls);