summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder-menus.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/gtkbuilder-menus.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/gtkbuilder-menus.c')
-rw-r--r--gtk/gtkbuilder-menus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkbuilder-menus.c b/gtk/gtkbuilder-menus.c
index aca07e3f2e..0bc7c1ed78 100644
--- a/gtk/gtkbuilder-menus.c
+++ b/gtk/gtkbuilder-menus.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "gtkbuilderprivate.h"
+#include "gtkbuildableprivate.h"
#include "gtkintl.h"
#include <gio/gio.h>