mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
root: Require GtkNative
This commit is contained in:
parent
5bf2b633bb
commit
d4257d20f8
@ -20,6 +20,9 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "gtkrootprivate.h"
|
||||
#include "gtknative.h"
|
||||
#include "gtkcssnodeprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gdk/gdk-private.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkintl.h"
|
||||
@ -38,7 +41,8 @@
|
||||
* The obvious example of a #GtkRoot is #GtkWindow.
|
||||
*/
|
||||
|
||||
G_DEFINE_INTERFACE (GtkRoot, gtk_root, GTK_TYPE_WIDGET)
|
||||
G_DEFINE_INTERFACE_WITH_CODE (GtkRoot, gtk_root, GTK_TYPE_WIDGET,
|
||||
g_type_interface_add_prerequisite (g_define_type_id, GTK_TYPE_NATIVE))
|
||||
|
||||
static GdkDisplay *
|
||||
gtk_root_default_get_display (GtkRoot *self)
|
||||
|
Loading…
Reference in New Issue
Block a user