aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-03 11:00:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-03 11:00:21 +0100
commit348ff66771e2c730bf09b0628b6905ddedab81ef (patch)
treec0f7dfab5a0bc83be45f9db3432e71baa80785b5
parentde8f1a716f46687277e5b1a2f141d54fb25fd169 (diff)
downloadayatana-indicator-datetime-348ff66771e2c730bf09b0628b6905ddedab81ef.tar.gz
ayatana-indicator-datetime-348ff66771e2c730bf09b0628b6905ddedab81ef.tar.bz2
ayatana-indicator-datetime-348ff66771e2c730bf09b0628b6905ddedab81ef.zip
Port from URL Dispatcher to Lomiri URL Dispatcher.
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/actions-live.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa7bda5..6fd0239 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,9 +50,9 @@ pkg_check_modules (SERVICE_DEPS REQUIRED
libaccounts-glib>=1.18)
include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS})
-set(URL_DISPATCHER_1_REQUIRED_VERSION 1)
+set(URL_DISPATCHER_REQUIRED_VERSION 0)
pkg_check_modules(URLDISPATCHER
- url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION}
+ lomiri-url-dispatcher>=${URL_DISPATCHER_REQUIRED_VERSION}
)
include_directories(${URLDISPATCHER_INCLUDE_DIRS})
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index b6d9e8c..271d2f3 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -20,7 +20,7 @@
#include <datetime/actions-live.h>
#ifdef HAS_URLDISPATCHER
-#include <url-dispatcher.h>
+#include <lomiri-url-dispatcher.h>
#endif
#include <glib.h>
@@ -55,7 +55,7 @@ void LiveActions::dispatch_url(const std::string& url)
{
g_debug("Dispatching url '%s'", url.c_str());
#ifdef HAS_URLDISPATCHER
- url_dispatch_send(url.c_str(), nullptr, nullptr);
+ lomiri_url_dispatch_send(url.c_str(), nullptr, nullptr);
#else
// FIXME: Deal with this, if we build without liburl-dispatcher...
#endif