[Xfce4-commits] <xfce4-panel:master> Fix expand overflow (bug #6312).
Nick Schermer
noreply at xfce.org
Sun Mar 14 20:56:01 CET 2010
Updating branch refs/heads/master
to 379febd9df538a2707963f34ec1ff4beab29182d (commit)
from 35e82f15d72109ec0c39d72035b7eab3134a29fc (commit)
commit 379febd9df538a2707963f34ec1ff4beab29182d
Author: Nick Schermer <nick at xfce.org>
Date: Sun Mar 14 20:54:31 2010 +0100
Fix expand overflow (bug #6312).
panel/panel-itembar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel/panel-itembar.c b/panel/panel-itembar.c
index 1136740..c2956ee 100644
--- a/panel/panel-itembar.c
+++ b/panel/panel-itembar.c
@@ -500,7 +500,7 @@ panel_itembar_size_allocate (GtkWidget *widget,
child_alloc.height = alloc_length;
n_expand_children--;
- expand_length_req -= alloc_length;
+ expand_length_req -= length_req;
expand_length_avail -= alloc_length;
}
else
More information about the Xfce4-commits
mailing list