[gtk+] Fix GtkCalendar drawing



commit 53b37b8f719a55c9aa8048ee2e7b2e5b6b4f106f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 14 20:37:57 2014 -0400

    Fix GtkCalendar drawing
    
    A gtk_widget_get_allocation call was unintentionally
    dropped in 5cb43c70f776a7.

 gtk/gtkcalendar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 3ba328e..c843c84 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]