summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-03 16:52:37 +0300
committermonsta <[email protected]>2015-12-03 16:52:37 +0300
commit65acb33f3f77a769b83d8aa770eb727c0403c71c (patch)
treebc22ec0687db4bf3f10b923e389cae0b7f61b712
parentd7b74656ab63c43c975b3a1bb2bac1ee9bcbbe01 (diff)
downloadatril-65acb33f3f77a769b83d8aa770eb727c0403c71c.tar.bz2
atril-65acb33f3f77a769b83d8aa770eb727c0403c71c.tar.xz
shell: support the launch of multiple URI arguments
from https://git.gnome.org/browse/evince/commit/?id=28f8be70a6a8c941ef8326cf831238365eae4689
-rw-r--r--shell/ev-application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 6c968363..5d24d7a4 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -262,7 +262,7 @@ ev_spawn (const char *uri,
}
cmdline = g_string_free (cmd, FALSE);
- app = g_app_info_create_from_commandline (cmdline, NULL, 0, &error);
+ app = g_app_info_create_from_commandline (cmdline, NULL, G_APP_INFO_CREATE_SUPPORTS_URIS, &error);
if (app != NULL) {
GList uri_list;