gtk-launch: Fix unused variable warning on macOS

This commit is contained in:
Benjamin Otte 2021-11-04 00:59:19 +01:00 committed by Matthias Clasen
parent de271c9a30
commit ac81e71f78

View File

@ -49,8 +49,10 @@ main (int argc, char *argv[])
GOptionContext *context = NULL; GOptionContext *context = NULL;
char *summary; char *summary;
char *app_name; char *app_name;
#ifdef G_OS_UNIX #if defined(HAVE_GIO_UNIX) && !defined(__APPLE__)
char *desktop_file_name; char *desktop_file_name;
#endif
#ifdef G_OS_UNIX
char *bus_name = NULL; char *bus_name = NULL;
#endif #endif
GAppInfo *info = NULL; GAppInfo *info = NULL;