2014-03-16 09:34:12 -05:00
|
|
|
/* 16 march 2014 */
|
|
|
|
|
|
|
|
/* This header file is a convenience to ensure that the compatibility flags below are included in all Go files that include <gtk/gtk.h> */
|
|
|
|
|
|
|
|
/*
|
2014-03-19 20:16:35 -05:00
|
|
|
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.
|
2014-03-16 09:34:12 -05:00
|
|
|
Thanks to desrt in irc.gimp.net/#gtk+
|
|
|
|
*/
|
2014-04-01 15:01:49 -05:00
|
|
|
|
|
|
|
/* GLib/GObject */
|
2014-03-19 20:16:35 -05:00
|
|
|
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
|
|
|
|
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32
|
2014-04-01 15:01:49 -05:00
|
|
|
|
|
|
|
/* GDK/GTK+ */
|
2014-03-16 09:34:12 -05:00
|
|
|
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
|
|
|
|
#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4
|
|
|
|
|
2014-04-01 15:01:49 -05:00
|
|
|
/* TODO are there equivalent compatibility macros for the other components of GTK+? Specifically:
|
|
|
|
cairo
|
|
|
|
gdk-pixbuf
|
|
|
|
*/
|
2014-03-16 09:34:12 -05:00
|
|
|
|
2014-04-01 15:01:49 -05:00
|
|
|
#include <stdlib.h>
|
2014-03-16 09:34:12 -05:00
|
|
|
#include <gtk/gtk.h>
|