diff --git a/gio-2.16-only-pass-uri-to-gio-apps.patch b/gio-2.16-only-pass-uri-to-gio-apps.patch index 93e4f39..8f3715b 100644 --- a/gio-2.16-only-pass-uri-to-gio-apps.patch +++ b/gio-2.16-only-pass-uri-to-gio-apps.patch @@ -1,6 +1,6 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3/gio/gdesktopappinfo.c --- glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps 2008-07-02 17:13:13.000000000 -0400 -+++ glib-2.17.3/gio/gdesktopappinfo.c 2008-07-03 10:55:58.000000000 -0400 ++++ glib-2.17.3/gio/gdesktopappinfo.c 2008-07-03 13:21:42.000000000 -0400 @@ -1,3 +1,5 @@ +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ + @@ -31,7 +31,15 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3 info->icon = NULL; if (info->icon_name) -@@ -517,9 +522,35 @@ expand_macro (char macro, +@@ -392,6 +397,7 @@ g_desktop_app_info_dup (GAppInfo *appinf + new_info->exec = g_strdup (info->exec); + new_info->binary = g_strdup (info->binary); + new_info->path = g_strdup (info->path); ++ new_info->vfs_system = g_strdup (info->vfs_system); + new_info->hidden = info->hidden; + new_info->terminal = info->terminal; + new_info->startup_notify = info->startup_notify; +@@ -517,9 +523,35 @@ expand_macro (char macro, { GList *uris = *uri_list; char *expanded; @@ -69,7 +77,7 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3 switch (macro) { case 'u': -@@ -528,7 +559,17 @@ expand_macro (char macro, +@@ -528,7 +560,17 @@ expand_macro (char macro, case 'n': if (uris) { @@ -88,7 +96,7 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3 if (expanded) { g_string_append (exec, expanded); -@@ -545,7 +586,17 @@ expand_macro (char macro, +@@ -545,7 +587,17 @@ expand_macro (char macro, case 'N': while (uris) {