summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2019-12-07 20:54:07 +0100
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2019-12-07 20:54:07 +0100
commitcd5a2a566f07c5278529af7aee54241adc8ea981 (patch)
treee3252c4cbf6192ad8efe89ac0c62dabe4d572d90
parent225360f5bf0ddf914e8e9a063332b806964694d8 (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)
{