projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de271c9
)
gtk-launch: Fix unused variable warning on macOS
author
Benjamin Otte
<otte@redhat.com>
Wed, 3 Nov 2021 23:59:19 +0000
(
00:59
+0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 7 Jan 2023 00:46:58 +0000
(19:46 -0500)
tools/gtk-launch.c
patch
|
blob
|
history
diff --git
a/tools/gtk-launch.c
b/tools/gtk-launch.c
index dc7ba81852385e4f0e2f8ca0cfa31f1b5d039530..04f103771c15d723a0d2e57792babc62a40fa6e7 100644
(file)
--- a/
tools/gtk-launch.c
+++ b/
tools/gtk-launch.c
@@
-49,8
+49,10
@@
main (int argc, char *argv[])
GOptionContext *context = NULL;
char *summary;
char *app_name;
-#if
def G_OS_UNIX
+#if
defined(HAVE_GIO_UNIX) && !defined(__APPLE__)
char *desktop_file_name;
+#endif
+#ifdef G_OS_UNIX
char *bus_name = NULL;
#endif
GAppInfo *info = NULL;