week-grid: set child widgets' orientation to vertical

This commit is contained in:
Georges Basile Stavracas Neto
2016-12-15 17:03:26 -02:00
parent 4074bee50e
commit 9da0704e37
+6 -2
View File
@@ -1009,9 +1009,13 @@ gcal_week_grid_add_event (GcalWeekGrid *self,
g_return_if_fail (GCAL_IS_WEEK_GRID (self));
widget = gcal_event_widget_new (event);
start = 0;
end = 0;
start = 0;
widget = g_object_new (GCAL_TYPE_EVENT_WIDGET,
"event", event,
"orientation", GTK_ORIENTATION_VERTICAL,
NULL);
self->children_changed = TRUE;