diff --git a/demos/gtk-demo/listview_settings.ui b/demos/gtk-demo/listview_settings.ui index 05d6ef8b4f..c5405b9c50 100644 --- a/demos/gtk-demo/listview_settings.ui +++ b/demos/gtk-demo/listview_settings.ui @@ -63,12 +63,12 @@ - + - + diff --git a/demos/gtk-demo/listview_settings2.ui b/demos/gtk-demo/listview_settings2.ui index 30a024cb67..350c20a984 100644 --- a/demos/gtk-demo/listview_settings2.ui +++ b/demos/gtk-demo/listview_settings2.ui @@ -26,11 +26,11 @@ - + - + diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui index 6fdbaba960..ba3404440f 100644 --- a/demos/gtk-demo/main.ui +++ b/demos/gtk-demo/main.ui @@ -64,14 +64,14 @@ search-entry window - + Search listview - + diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 6d8d7e36a3..6543e37bc8 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -1941,9 +1941,9 @@ microphone-sensitivity-medium-symbolic - + - + diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c index 514225786f..02f76c0a01 100644 --- a/gtk/gtksearchbar.c +++ b/gtk/gtksearchbar.c @@ -31,6 +31,7 @@ #include "gtkbinlayout.h" #include "gtkbuildable.h" +#include "gtkbuilderprivate.h" #include "gtkbutton.h" #include "gtkcenterbox.h" #include "gtkentryprivate.h" @@ -145,9 +146,14 @@ gtk_search_bar_buildable_add_child (GtkBuildable *buildable, const char *type) { if (GTK_IS_WIDGET (child)) - gtk_search_bar_set_child (GTK_SEARCH_BAR (buildable), GTK_WIDGET (child)); + { + gtk_buildable_child_deprecation_warning (buildable, builder, NULL, "child"); + gtk_search_bar_set_child (GTK_SEARCH_BAR (buildable), GTK_WIDGET (child)); + } else - parent_buildable_iface->add_child (buildable, builder, child, type); + { + parent_buildable_iface->add_child (buildable, builder, child, type); + } } static void diff --git a/gtk/ui/gtkappchooserdialog.ui b/gtk/ui/gtkappchooserdialog.ui index 2437d601d4..d923941c53 100644 --- a/gtk/ui/gtkappchooserdialog.ui +++ b/gtk/ui/gtkappchooserdialog.ui @@ -11,12 +11,12 @@ 2 - + 1 40 - +