Commit e6c992f0 authored by Guido Gunther's avatar Guido Gunther
Browse files

screensaver-manager: Dup lockscreen-manager



We unref it on dispose so we need to take a reference.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 87e0ea21
......@@ -69,7 +69,7 @@ phosh_screen_saver_manager_set_property (GObject *object,
switch (property_id) {
case PROP_LOCKSCREEN_MANAGER:
self->lockscreen_manager = g_value_get_object (value);
self->lockscreen_manager = g_value_dup_object (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment