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:
Matthias Clasen 2023-11-14 23:45:17 -05:00
parent 2803189afd
commit 4bdc44f4af
2 changed files with 1 additions and 5 deletions

View File

@ -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",

View File

@ -176,7 +176,6 @@ check_headers = [
'sys/time.h',
'sys/types.h',
'unistd.h',
'gio/gdesktopappinfo.h'
]
foreach h : check_headers