osx: fix build

https://bugzilla.gnome.org/show_bug.cgi?id=734946
This commit is contained in:
Christoph Reiter
2017-03-14 21:00:37 +01:00
committed by Matthias Clasen
parent cc53017b3e
commit 30b961c84b
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
#include "gtksettings.h"
#include "gtkshortcutswindowprivate.h"
#ifdef HAVE_GIO_UNIX
#if defined(HAVE_GIO_UNIX) && !defined(__APPLE__)
#include <gio/gdesktopappinfo.h>
#endif
@ -278,7 +278,7 @@ gtk_application_window_get_app_desktop_name (void)
{
gchar *retval = NULL;
#ifdef HAVE_GIO_UNIX
#if defined(HAVE_GIO_UNIX) && !defined(__APPLE__)
GDesktopAppInfo *app_info;
const gchar *app_name = NULL;
gchar *desktop_file;