[gtk/simplify-tests: 3/5] builder-tool: Stop warnings for stack rewrites
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/simplify-tests: 3/5] builder-tool: Stop warnings for stack rewrites
- Date: Sun, 5 May 2019 17:14:41 +0000 (UTC)
commit 4eb00a3e41c22c506a6fef2db8d321c13e11252b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 5 15:49:28 2019 +0000
builder-tool: Stop warnings for stack rewrites
When rewriting a GtkStack from 3 to 4, we were emitting
warnings for missing child properties. Stop doing that.
gtk/tools/gtk-builder-tool-simplify.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/tools/gtk-builder-tool-simplify.c b/gtk/tools/gtk-builder-tool-simplify.c
index 6bd0810069..027e41223f 100644
--- a/gtk/tools/gtk-builder-tool-simplify.c
+++ b/gtk/tools/gtk-builder-tool-simplify.c
@@ -210,6 +210,10 @@ keep_for_rewrite (const char *class_name,
{ "GtkGrid", "top-attach", PROP_KIND_PACKING },
{ "GtkGrid", "width", PROP_KIND_PACKING },
{ "GtkGrid", "height", PROP_KIND_PACKING },
+ { "GtkStack", "name", PROP_KIND_PACKING },
+ { "GtkStack", "title", PROP_KIND_PACKING },
+ { "GtkStack", "icon-name", PROP_KIND_PACKING },
+ { "GtkStack", "needs-attention", PROP_KIND_PACKING },
};
gboolean found;
gint k;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]