summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-01-26 17:11:08 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-01-26 17:30:11 +0100
commit4fda112f8b6c9ad5278e6bb7a027513d527d58eb (patch)
tree34d54827cff1da87fee17af4456e84c2c3a671f3
parent27ac836202028d1a9e4f18fff21d10aff802b04b (diff)
pcap-monitor: Fix build error
g_clear_handle_id was introduced in GLib 2.56 so it was not available in our target (GLIB_VERSION_MAX_ALLOWED), leading to the following error: c-sources/pcap-monitor.c: In function ‘handle_error’: c-sources/pcap-monitor.c:415:13: error: warning: Not available before 415 | g_clear_handle_id (&self->await_both_errors_id, g_source_remove); | ^~~~~~~~~~~~~~~~~~~~~~~ | 415 | g_clear_handle_id (&self->await_both_errors_id, g_source_remove); | ^ Weirdly, it did not seem to affect the build status.
-rw-r--r--c-sources/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c-sources/config.h b/c-sources/config.h
index 42748f9..ddaa35b 100644
--- a/c-sources/config.h
+++ b/c-sources/config.h
@@ -19,7 +19,7 @@
#ifndef BUSTLE_CONFIG_H
#define BUSTLE_CONFIG_H
-#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_54
-#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_54
+#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_56
+#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_56
#endif /* BUSTLE_CONFIG_H */