mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
buildertool: Static analysis fixes
This commit is contained in:
parent
f472cb53ae
commit
5fbfe5203c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user