nixpkgs/pkgs/development/libraries/glib/fix-gio-launch-desktop-path.patch

12 lines
406 B
Diff
Raw Normal View History

--- 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);
}