summary refs log tree commit diff
path: root/pkgs/development/libraries/glib/fix-gio-launch-desktop-path.patch
blob: 4fdec2dd7e7d2040ff1a07628d5a2a9a35a022b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -2725,7 +2725,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo            *info,
 
           /* Fall back on usual searching in $PATH */
           if (tmp == NULL)
-            tmp = "gio-launch-desktop";
+            tmp = "@bindir@/gio-launch-desktop";
           g_once_init_leave (&gio_launch_desktop_path, tmp);
         }