# HG changeset patch # User Tim Ringenbach # Date 1131321241 0 # Node ID 191cbb6149256574322a6dcd134dcee1639f413a # Parent 9d451c9cc3d965f9bac75d04e48ea8fca3639d09 [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 diff -r 9d451c9cc3d9 -r 191cbb614925 src/gtkstatusbox.c --- 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);