diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-02-03 10:30:09 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-02-03 10:30:09 +0100 |
commit | 828e139dac7d72be2dc8e1b3757393a52189fd1e (patch) | |
tree | 4fb2860866369a42b112ba661b8e456d98f1b32d | |
parent | 850430d037210c511000057474796b49d94ffa1e (diff) | |
download | ayatana-indicator-power-828e139dac7d72be2dc8e1b3757393a52189fd1e.tar.gz ayatana-indicator-power-828e139dac7d72be2dc8e1b3757393a52189fd1e.tar.bz2 ayatana-indicator-power-828e139dac7d72be2dc8e1b3757393a52189fd1e.zip |
Port from URL Dispatcher to Lomiri URL Dispatcher.
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/utils.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7c62c7..b78a69e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,10 +40,10 @@ pkg_check_modules(SERVICE_DEPS REQUIRED 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/utils.c b/src/utils.c index 96a9b1b..82c5cf7 100644 --- a/src/utils.c +++ b/src/utils.c @@ -22,7 +22,7 @@ #include "utils.h" #ifdef HAS_URLDISPATCHER -# include <url-dispatcher.h> +# include <lomiri-url-dispatcher.h> #endif /* Run a particular program based on an activation */ @@ -96,7 +96,7 @@ utils_handle_settings_request (void) #ifdef HAS_URLDISPATCHER if (g_getenv ("MIR_SOCKET") != NULL) { - url_dispatch_send("settings:///system/battery", NULL, NULL); + lomiri_url_dispatch_send("settings:///system/battery", NULL, NULL); return; } else |