month-view: queue draw on size_allocate
It should not be necessary to queue a draw operation after ::size_allocate. This has been discussed over with Gtk+ devs, as soon as the bug is fixed these statements will goes away.
This commit is contained in:
@@ -803,8 +803,9 @@ gcal_month_view_size_allocate (GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
|
||||
/* if (g_hash_table_size (priv->overflown_days) != 0) */
|
||||
/* gtk_widget_queue_draw_area (widget, allocation->x, allocation->y, allocation->width, allocation->height); */
|
||||
/* FIXME: remove when Gtk bug is fixed */
|
||||
if (g_hash_table_size (priv->overflown_days) != 0)
|
||||
gtk_widget_queue_draw_area (widget, allocation->x, allocation->y, allocation->width, allocation->height);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user