Skip to content

Commit 178eacc

Browse files
sunweaverraveit65
authored andcommitted
src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" from libglib2.0-bin.
1 parent 3e43e3c commit 178eacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/daemon/daemon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,9 +1076,9 @@ static void url_clicked_cb(GtkWindow* nw, const char *url)
10761076

10771077
escaped_url = g_shell_quote (url);
10781078

1079-
if ((found = g_find_program_in_path ("gvfs-open")) != NULL)
1079+
if ((found = g_find_program_in_path ("gio")) != NULL)
10801080
{
1081-
cmd = g_strdup_printf ("gvfs-open %s", escaped_url);
1081+
cmd = g_strdup_printf ("gio open %s", escaped_url);
10821082
}
10831083
else if ((found = g_find_program_in_path ("xdg-open")) != NULL)
10841084
{

0 commit comments

Comments
 (0)