mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Revert "Conditional check for gdesktopappinfo header"
This reverts commit 13b94dab10
.
As pointed out in #6557, this commit is broken and causes
gio/gdesktopappinfo.h to never be found.
This commit is contained in:
parent
2803189afd
commit
4bdc44f4af
@ -28,9 +28,7 @@
|
||||
#include "gdkprivate.h"
|
||||
|
||||
#include <glib.h>
|
||||
#ifdef HAVE_DESKTOPAPPINFO
|
||||
#include <gio/gdesktopappinfo.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@ -355,11 +353,10 @@ gdk_x11_app_launch_context_get_startup_notify_id (GAppLaunchContext *context,
|
||||
workspace_str = g_strdup_printf ("%d", ctx->workspace);
|
||||
else
|
||||
workspace_str = NULL;
|
||||
#ifdef HAVE_DESKTOPAPPINFO
|
||||
|
||||
if (G_IS_DESKTOP_APP_INFO (info))
|
||||
application_id = g_desktop_app_info_get_filename (G_DESKTOP_APP_INFO (info));
|
||||
else
|
||||
#endif
|
||||
application_id = NULL;
|
||||
|
||||
startup_id = g_strdup_printf ("%s-%lu-%s-%s-%d_TIME%lu",
|
||||
|
@ -176,7 +176,6 @@ check_headers = [
|
||||
'sys/time.h',
|
||||
'sys/types.h',
|
||||
'unistd.h',
|
||||
'gio/gdesktopappinfo.h'
|
||||
]
|
||||
|
||||
foreach h : check_headers
|
||||
|
Loading…
Reference in New Issue
Block a user