Fix scroll_offset handling

scroll_offset can be negative here, so replace a > 0 test
by != 0.
This commit is contained in:
Matthias Clasen
2011-12-23 04:45:28 +00:00
parent f1bfdda3fd
commit fbc3db8ba9

View File

@@ -4807,7 +4807,7 @@ gtk_menu_position (GtkMenu *menu,
priv->position_y = y;
}
if (scroll_offset > 0)
if (scroll_offset != 0)
{
GtkBorder arrow_border;