diff options
author | Robert Tari <robert@tari.in> | 2021-02-03 11:58:16 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-02-03 11:58:16 +0100 |
commit | e3cb90d2da86fa15aaad0f42af398468d2fa4899 (patch) | |
tree | f332ec6ec62f82a81d12b937e8a096ea296ff4c2 /src | |
parent | e6797118df29e5b6fbfaf43dbe14b698d14ad91b (diff) | |
parent | 7d1d251b5544157c01bf0a839d611dd646c4b1d5 (diff) | |
download | libayatana-common-e3cb90d2da86fa15aaad0f42af398468d2fa4899.tar.gz libayatana-common-e3cb90d2da86fa15aaad0f42af398468d2fa4899.tar.bz2 libayatana-common-e3cb90d2da86fa15aaad0f42af398468d2fa4899.zip |
Merge branch 'sunweaver-pr/port-to-lomiri-url-dispatcher'
Attributes GH PR #6: https://github.com/AyatanaIndicators/libayatana-common/pull/6
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c index 82f9cff..38ad1d8 100644 --- a/src/utils.c +++ b/src/utils.c @@ -19,7 +19,7 @@ #include <string.h> #ifdef HAS_URLDISPATCHER -# include <url-dispatcher.h> +# include <lomiri-url-dispatcher.h> #endif // TODO: make case insensitive @@ -136,10 +136,10 @@ open_url (const gchar * url) if (is_lomiri()) { #ifdef HAS_URLDISPATCHER - url_dispatch_send("settings:///system/battery", NULL, NULL); + lomiri_url_dispatch_send(url, NULL, NULL); return TRUE; #else - g_warning("Built without url-dispatcher, is not able to open url"); + g_warning("Built without url-dispatcher, not able to open URL '%s'", url); #endif } |