[gtk/static-analysis-fixes: 12/13] buildertool: Static analysis fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/static-analysis-fixes: 12/13] buildertool: Static analysis fixes
- Date: Mon, 3 May 2021 11:45:03 +0000 (UTC)
commit 5fbfe5203c5336bbc3c21b77492aded5037bdcd4
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 3 07:36:19 2021 -0400
buildertool: Static analysis fixes
tools/gtk-builder-tool-simplify.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/gtk-builder-tool-simplify.c b/tools/gtk-builder-tool-simplify.c
index 22e41a34d7..66c3060138 100644
--- a/tools/gtk-builder-tool-simplify.c
+++ b/tools/gtk-builder-tool-simplify.c
@@ -1506,16 +1506,16 @@ rewrite_box (Element *element,
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
if (expand)
- hexpand = write_box_prop (hexpand, object, "hexpand", "1");
+ write_box_prop (hexpand, object, "hexpand", "1");
if (!fill)
- halign = write_box_prop (halign, object, "halign", "center");
+ write_box_prop (halign, object, "halign", "center");
}
else if (orientation == GTK_ORIENTATION_VERTICAL)
{
if (expand)
- vexpand = write_box_prop (vexpand, object, "vexpand", "1");
+ write_box_prop (vexpand, object, "vexpand", "1");
if (!fill)
- valign = write_box_prop (valign, object, "valign", "center");
+ write_box_prop (valign, object, "valign", "center");
}
child->children = g_list_remove (child->children, packing);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]