projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82eee65
)
builder-tool: Stop warnings for stack rewrites
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 May 2019 15:49:28 +0000
(15:49 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 May 2019 17:13:38 +0000
(17:13 +0000)
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
patch
|
blob
|
history
diff --git
a/gtk/tools/gtk-builder-tool-simplify.c
b/gtk/tools/gtk-builder-tool-simplify.c
index 6bd081006937455c9a7e5ea4b7bb7b5c16af3895..027e41223f01c9f55d8187f7559099f9549505e8 100644
(file)
--- 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;