From 2715b3ec31256ee1c3e0276fdc0154cd8a69fa8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 25 Sep 2020 14:27:26 +0200 Subject: 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 --- gtk/gtkbuilder-menus.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtkbuilder-menus.c') 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 -- cgit v1.2.1