summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkcalendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 3ba328e8ec..c843c84e92 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -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