Fix GtkCalendar drawing

A gtk_widget_get_allocation call was unintentionally
dropped in 5cb43c70f7.
This commit is contained in:
Matthias Clasen 2014-05-14 20:37:57 -04:00
parent 6ecc431c23
commit 53b37b8f71

View File

@ -1257,6 +1257,7 @@ calendar_top_y_for_row (GtkCalendar *calendar,
gint inner_border = calendar_get_inner_border (calendar);
GtkBorder padding;
gtk_widget_get_allocation (GTK_WIDGET (calendar), &allocation);
get_component_paddings (calendar, &padding, NULL, NULL, NULL);
return allocation.height