[gtk+] gtk-builder-tool: Don't break GtkHBox and GtkVBox
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-builder-tool: Don't break GtkHBox and GtkVBox
- Date: Mon, 14 Sep 2015 15:16:50 +0000 (UTC)
commit 76810e110b9a90019de285b9f018b6ba356e5071
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 14 09:38:08 2015 -0400
gtk-builder-tool: Don't break GtkHBox and GtkVBox
These classes have different defaults for ::expand than GtkBox,
which is not reflected in the declared default, so we have to
blacklist it.
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 7ad4733..b5bc8c6 100644
--- a/gtk/gtk-builder-tool.c
+++ b/gtk/gtk-builder-tool.c
@@ -171,6 +171,8 @@ needs_explicit_setting (MyParserData *data,
{ "GtkWidget", "hexpand", 0 },
{ "GtkWidget", "vexpand", 0 },
{ "GtkContainer", "border-width", 0 },
+ { "GtkVBox", "expand", 1 },
+ { "GtkHBox", "expand", 1 },
{ NULL, NULL, 0 }
};
gchar *canonical_name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]