event-widget: Receive a context

This commit is contained in:
Georges Basile Stavracas Neto
2019-04-25 16:30:55 -03:00
parent c175599550
commit 54506973fc
7 changed files with 39 additions and 9 deletions
+1 -1
View File
@@ -735,7 +735,7 @@ add_event_to_grid (GcalWeekHeader *self,
move_events_at_column (self, DOWN, start, position);
/* Add the event to the grid */
widget = gcal_event_widget_new (event);
widget = gcal_event_widget_new (self->context, event);
setup_event_widget (self, widget);
gtk_grid_attach (GTK_GRID (self->grid),