forked from AuroraMiddleware/gtk
Fix GtkCalendar drawing
A gtk_widget_get_allocation call was unintentionally
dropped in 5cb43c70f7
.
This commit is contained in:
parent
6ecc431c23
commit
53b37b8f71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user