diff --git a/ChangeLog b/ChangeLog index 408a1b4900..8699550df0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-03 Michael Natterer + + * gtk/gtkmenu.c (get_arrows_visible_area): proper function header + formatting. + 2008-09-02 Michael Natterer * gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 7e810401c0..fe9aad36ed 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -2579,17 +2579,17 @@ gtk_menu_size_allocate (GtkWidget *widget, } static void -get_arrows_visible_area (GtkMenu *menu, +get_arrows_visible_area (GtkMenu *menu, GdkRectangle *border, GdkRectangle *upper, GdkRectangle *lower, - gint *arrow_space) + gint *arrow_space) { GtkWidget *widget = GTK_WIDGET (menu); guint vertical_padding; guint horizontal_padding; gint scroll_arrow_height; - + gtk_widget_style_get (widget, "vertical-padding", &vertical_padding, "horizontal-padding", &horizontal_padding,