File: gtk_setup_pre_def.hpp

package info (click to toggle)
cppgir 2.0%2Bgit20250629.2a7d9ce-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,220 kB
  • sloc: cpp: 16,451; ansic: 355; python: 86; makefile: 13; sh: 9
file content (12 lines) | stat: -rw-r--r-- 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <gtk/gtk.h>
#if !GTK_CHECK_VERSION(3, 99, 0)
#include <gtk/gtk-a11y.h>
#endif

// GtkSnapshot is alias for GdkSnapshot and its GIR does not specify c:type
// use a fairly opaque dummy type here to make things work out
// (since one ctype can not map to 2 cpp types (Gdk::Snapshot and Gtk::Snapshot,
// and since one pointer is much like another)
struct GI_PATCH_GtkSnapshot;