summaryrefslogtreecommitdiff
path: root/gtk_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-01 16:01:49 -0400
committerPietro Gagliardi <[email protected]>2014-04-01 16:01:49 -0400
commit14770e890aba8fb40b97a05fa27c25906555df95 (patch)
tree937c633c0aef8da21285413638843f4f8c12a42a /gtk_unix.h
parent854ec2d17c6c680f5add025aa5326dfdcc4670d2 (diff)
Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that file a bit.
Diffstat (limited to 'gtk_unix.h')
-rw-r--r--gtk_unix.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk_unix.h b/gtk_unix.h
index 1647722..0eac4ac 100644
--- a/gtk_unix.h
+++ b/gtk_unix.h
@@ -7,12 +7,19 @@ MIN_REQUIRED signals that programs are expected to run on at least GLib 2.32/GTK
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+
*/
+
+/* GLib/GObject */
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32
+
+/* GDK/GTK+ */
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4
-/* TODO are there equivalent compatibility macros for the other components of GTK+? */
+/* TODO are there equivalent compatibility macros for the other components of GTK+? Specifically:
+ cairo
+ gdk-pixbuf
+*/
+#include <stdlib.h>
#include <gtk/gtk.h>
-/* TODO include <stdlib.h> too */