projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e9dfa
)
builder-tool: Don't strip h/vexpand
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Jun 2015 11:01:26 +0000
(07:01 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Jun 2015 11:01:26 +0000
(07:01 -0400)
Setting these properties has the side-effect of setting the
corresponding -set properties, which makes GTK+ behave subtly
different. So don't mess with these.
gtk/gtk-builder-tool.c
patch
|
blob
|
history
diff --git
a/gtk/gtk-builder-tool.c
b/gtk/gtk-builder-tool.c
index b7a2a4b07ec7af0c246182cee85ab6d9a86beda0..3223f6f660cfe88a3f8d2437c2878a59fe03fde4 100644
(file)
--- a/
gtk/gtk-builder-tool.c
+++ b/
gtk/gtk-builder-tool.c
@@
-132,6
+132,8
@@
needs_explicit_setting (MyParserData *data,
{ "GtkRadioButton", "draw-indicator", 0 },
{ "GtkGrid", "left-attach", 1 },
{ "GtkGrid", "top-attach", 1 },
+ { "GtkWidget", "hexpand", 0 },
+ { "GtkWidget", "vexpand", 0 },
{ NULL, NULL, 0 }
};
const gchar *class_name;