summaryrefslogtreecommitdiff
path: root/prevlib/gtk_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-02 22:53:03 -0400
committerPietro Gagliardi <[email protected]>2014-07-02 22:53:03 -0400
commit8a81650b3da7ce00725336df9e03b38e935c5a65 (patch)
tree08af843f0460e7226f305cf7162021ef54e8c3f7 /prevlib/gtk_unix.h
parent4dd5ceb11d62bd6b9af4847936314a9d8c45707f (diff)
Moved it all back; the preemptive multitaksing during an event handler kills us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
Diffstat (limited to 'prevlib/gtk_unix.h')
-rw-r--r--prevlib/gtk_unix.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/prevlib/gtk_unix.h b/prevlib/gtk_unix.h
deleted file mode 100644
index 0eac4ac..0000000
--- a/prevlib/gtk_unix.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* 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> */
-
-/*
-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+
-*/
-
-/* 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+? Specifically:
- cairo
- gdk-pixbuf
-*/
-
-#include <stdlib.h>
-#include <gtk/gtk.h>