night-light-monitor: Receive a context

This commit is contained in:
Georges Basile Stavracas Neto
2019-04-25 16:30:53 -03:00
parent b98801a621
commit 14c6544b95
3 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ gcal_application_activate (GApplication *application)
}
if (!self->night_light_monitor)
self->night_light_monitor = gcal_night_light_monitor_new (manager);
self->night_light_monitor = gcal_night_light_monitor_new (self->context);
if (!self->window)
{