Mercurial > pidgin.yaz
changeset 11998:191cbb614925
[gaim-migrate @ 14291]
apparently this crashed for Sean. Let me know if it crashes you.
It's not crashing for me. I half wonder though if that MAX() shouldn't
have a min of 0 instead of 1.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sun, 06 Nov 2005 23:54:01 +0000 |
parents | 9d451c9cc3d9 |
children | ea5e84686331 |
files | src/gtkstatusbox.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Sun Nov 06 23:20:21 2005 +0000 +++ b/src/gtkstatusbox.c Sun Nov 06 23:54:01 2005 +0000 @@ -624,8 +624,7 @@ box_alc = *allocation; combo_box_size_request(widget, &req); - box_alc.height = allocation->height - req.height - 6; - /* box_alc.height = MAX(1,box_alc.height - req.height - 6); */ + box_alc.height = MAX(1, ((allocation->height) - (req.height) - (6))); box_alc.y = box_alc.y + req.height + 6; gtk_widget_size_allocate((GTK_GAIM_STATUS_BOX(widget))->vbox, &box_alc);