about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gtk/2.0-darwin-x11.patch
blob: 9725cfb84260ce812044e6007614c09b1cb9571a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/gdk/x11/gdkapplaunchcontext-x11.c
+++ b/gdk/x11/gdkapplaunchcontext-x11.c
@@ -26,7 +26,6 @@
 #include <unistd.h>
 
 #include <glib.h>
-#include <gio/gdesktopappinfo.h>
 
 #include "gdkx.h"
 #include "gdkapplaunchcontext.h"
@@ -363,10 +362,7 @@
   else
     workspace_str = NULL;
 
-  if (G_IS_DESKTOP_APP_INFO (info))
-    application_id = g_desktop_app_info_get_filename (G_DESKTOP_APP_INFO (info));
-  else
-    application_id = NULL;
+  application_id = NULL;
 
   startup_id = g_strdup_printf ("%s-%lu-%s-%s-%d_TIME%lu",
                                 g_get_prgname (),