Skip to content
Permalink
Browse files

src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" …

…from libglib2.0-bin.
  • Loading branch information...
sunweaver authored and raveit65 committed Apr 18, 2018
1 parent 3e43e3c commit 178eacc6c110f692a1f0425635a7a51049e96466
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/daemon/daemon.c
@@ -1076,9 +1076,9 @@ static void url_clicked_cb(GtkWindow* nw, const char *url)

escaped_url = g_shell_quote (url);

if ((found = g_find_program_in_path ("gvfs-open")) != NULL)
if ((found = g_find_program_in_path ("gio")) != NULL)
{
cmd = g_strdup_printf ("gvfs-open %s", escaped_url);
cmd = g_strdup_printf ("gio open %s", escaped_url);
}
else if ((found = g_find_program_in_path ("xdg-open")) != NULL)
{

0 comments on commit 178eacc

Please sign in to comment.
You can’t perform that action at this time.