+#if GTK_MAJOR_VERSION == 3
+#define GFIO_DRAW_EVENT "draw"
+#elif GTK_MAJOR_VERSION == 2
+#define GFIO_DRAW_EVENT "expose_event"
+#endif
+
+#if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 18
+void gtk_widget_set_can_focus(GtkWidget *widget, gboolean can_focus);
+#endif
+