builder-tool: Don't strip h/vexpand
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Jun 2015 11:01:26 +0000 (07:01 -0400)
committerMatthias 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

index b7a2a4b07ec7af0c246182cee85ab6d9a86beda0..3223f6f660cfe88a3f8d2437c2878a59fe03fde4 100644 (file)
@@ -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;