override/gtk/gtk_setup_pre_def.hpp
raw| 1 | #pragma once |
| 2 | |
| 3 | #include <gtk/gtk.h> |
| 4 | #if !GTK_CHECK_VERSION(3, 99, 0) |
| 5 | #include <gtk/gtk-a11y.h> |
| 6 | #endif |
| 7 | |
| 8 | // GtkSnapshot is alias for GdkSnapshot and its GIR does not specify c:type |
| 9 | // use a fairly opaque dummy type here to make things work out |
| 10 | // (since one ctype can not map to 2 cpp types (Gdk::Snapshot and Gtk::Snapshot, |
| 11 | // and since one pointer is much like another) |
| 12 | struct GI_PATCH_GtkSnapshot; |