aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c6
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
}