summaryrefslogtreecommitdiff
path: root/gtk/gtkroot.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-04-09 14:13:37 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-06-30 23:42:44 +0100
commitc694dd6049aa59ad0f497092479970cf4948cc2a (patch)
tree69d9046d139c7456697e003a066c04aff0ce84dc /gtk/gtkroot.h
parent6b308cd71e1c6d37cd32a3b99d21e729e181aa8d (diff)
downloadgtk+-c694dd6049aa59ad0f497092479970cf4948cc2a.tar.gz
Move the Root interface to a private header
We don't expect out of tree implementations of GtkRoot, and having the interface structure private to the GTK code allows us to add virtual functions involving private types.
Diffstat (limited to 'gtk/gtkroot.h')
-rw-r--r--gtk/gtkroot.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtkroot.h b/gtk/gtkroot.h
index c147c09ff0..08b3888d3c 100644
--- a/gtk/gtkroot.h
+++ b/gtk/gtkroot.h
@@ -34,20 +34,6 @@ G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL
G_DECLARE_INTERFACE (GtkRoot, gtk_root, GTK, ROOT, GtkWidget)
-/**
- * GtkRootIface:
- *
- * The list of functions that must be implemented for the #GtkRoot interface.
- */
-struct _GtkRootInterface
-{
- /*< private >*/
- GTypeInterface g_iface;
-
- /*< public >*/
- GdkDisplay * (* get_display) (GtkRoot *self);
-};
-
GDK_AVAILABLE_IN_ALL
GdkDisplay * gtk_root_get_display (GtkRoot *self);