[gtk+] builder-tool: Don't strip h/vexpand



commit f8b7623b3c5c056fcc1d2fd15df8ec62006b44d7
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 25 07:01:26 2015 -0400

    builder-tool: Don't strip h/vexpand
    
    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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk-builder-tool.c b/gtk/gtk-builder-tool.c
index b7a2a4b..3223f6f 100644
--- 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]