summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2019-07-15 09:58:56 +0200
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2019-07-15 09:58:56 +0200
commitbda747d9fbb5504c209c5ecbb4716b963d46d1bf (patch)
tree449eca88d4e42d24af1f18ba03a9dbd0d926680c
parentc13d0b1df570592b422844d277f6d0bac171e161 (diff)
provide dummy define for GTK_HAVE_VERSION
Forwarded: yes Last-Update: 2016-10-31 when compiling without GTK (USE_GTK=0), the following line throws an error: #if (USE_GTK) && (!GTK_CHECK_VERSION(3, 22, 0)) so we just create a dummy-define for GTK_CHECK_VERSION() Last-Update: 2016-10-31 Gbp-Pq: Name gtk_check_version.patch
-rw-r--r--snd-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/snd-main.c b/snd-main.c
index db5cca0..f0615a2 100644
--- a/snd-main.c
+++ b/snd-main.c
@@ -10,6 +10,9 @@
#define TO_GVAR_NAME(Str) Str
#endif
+#if (!defined USE_GTK) || (!USE_GTK)
+ #define GTK_CHECK_VERSION(x, y, z) 0
+#endif
static void remove_temp_files(chan_info *cp)
{