diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-14 20:37:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-14 20:38:55 -0400 |
commit | 53b37b8f719a55c9aa8048ee2e7b2e5b6b4f106f (patch) | |
tree | 810a0599bc022eab3a462014315d2dd93dfd8903 /gtk/gtkcalendar.c | |
parent | 6ecc431c23ff284637c13bb6eccc39e114999fc6 (diff) | |
download | gtk+-53b37b8f719a55c9aa8048ee2e7b2e5b6b4f106f.tar.gz |
Fix GtkCalendar drawing
A gtk_widget_get_allocation call was unintentionally
dropped in 5cb43c70f776a7.
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 1 |
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 |