summaryrefslogtreecommitdiff
path: root/gtk_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-19 21:16:35 -0400
committerPietro Gagliardi <[email protected]>2014-03-19 21:16:35 -0400
commitc766cb965f5bf3278582761fe3acd7a06a2de270 (patch)
tree50ccdb11540a1e9ddc27e6d540224d4ce50b8cb0 /gtk_unix.h
parent32112462f83204db19db4940cb51df3fc497f568 (diff)
Added complementary GLib/GObject version compatibility macros to gtk_unix.h alongside the GDK/GTK+ ones.
Diffstat (limited to 'gtk_unix.h')
-rw-r--r--gtk_unix.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk_unix.h b/gtk_unix.h
index 240ea61..1647722 100644
--- a/gtk_unix.h
+++ b/gtk_unix.h
@@ -3,10 +3,12 @@
/* This header file is a convenience to ensure that the compatibility flags below are included in all Go files that include <gtk/gtk.h> */
/*
-MIN_REQUIRED signals that programs are expected to run on at least GTK+ 3 .4 and thus deprectation warnings for newer versions (such as gtk_scrolled_window_add_with_viewport() being deprecated in GTK+ 3.8) should be suppressed.
-MAX_ALLOWED signals that programs will not use features introduced in newer versions of GTK+ and that the compiler should warn us if we slip.
+MIN_REQUIRED signals that programs are expected to run on at least GLib 2.32/GTK+ 3.4 and thus deprectation warnings for newer versions (such as gtk_scrolled_window_add_with_viewport() being deprecated in GTK+ 3.8) should be suppressed.
+MAX_ALLOWED signals that programs will not use features introduced in newer versions of GLib/GTK+ and that the compiler should warn us if we slip.
Thanks to desrt in irc.gimp.net/#gtk+
*/
+#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
+#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4