summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilderparser.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2020-09-25 14:27:26 +0200
committerFlorian Müllner <fmuellner@gnome.org>2020-09-26 02:16:57 +0200
commit2715b3ec31256ee1c3e0276fdc0154cd8a69fa8e (patch)
treef2e13fc49626c6f95d666c4bda282238af1ca198 /gtk/gtkbuilderparser.c
parent12189bc10f87fe6315565e38099aceff60583a41 (diff)
downloadgtk+-2715b3ec31256ee1c3e0276fdc0154cd8a69fa8e.tar.gz
buildable: Make vfunc accessor functions private
With the exception of gtk_buildable_get_id(), those are only used to construct objects from XML descriptions, which is functionality internal to GTK. The API is therefore unlikely to be missed, and keeping it internal means they can no longer unintentionally shadow object methods in bindings with less namespacing; for example it's currently ambiguous whether `infoBar.add_child()` refers to gtk_info_bar_add_child() or gtk_buildable_add_child(). https://gitlab.gnome.org/GNOME/gtk/-/issues/3191
Diffstat (limited to 'gtk/gtkbuilderparser.c')
-rw-r--r--gtk/gtkbuilderparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index 78385499a9..3ea04b941f 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -20,7 +20,7 @@
#include "gtkbuilderprivate.h"
-#include "gtkbuildable.h"
+#include "gtkbuildableprivate.h"
#include "gtkbuilderscopeprivate.h"
#include "gtkdebug.h"
#include "gtkintl.h"