diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-06-10 07:52:01 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-06-10 07:53:06 -0400 |
commit | 8316ec85f500107eccb0de5d9d84abc6e8044e91 (patch) | |
tree | 889a0ef6acbc2018016b294ff093f6160e501159 /gtk/gtkcenterbox.c | |
parent | 389535c5724f3933f976b453f79195d0d6a89876 (diff) | |
download | gtk+-8316ec85f500107eccb0de5d9d84abc6e8044e91.tar.gz |
center box: Fix size allocation
This missing pair of parens was causing expanding children
to overlap.
Diffstat (limited to 'gtk/gtkcenterbox.c')
-rw-r--r-- | gtk/gtkcenterbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 390e68319b..f91f0d9782 100644 --- a/gtk/gtkcenterbox.c +++ b/gtk/gtkcenterbox.c @@ -201,7 +201,7 @@ gtk_center_box_distribute (GtkCenterBox *self, start_size = center_pos; if (end_expand) - end_size = size - center_pos + center_size; + end_size = size - (center_pos + center_size); } else { |