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

torch-manager: Cleanup DBus proxy

Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent c83d4079
......@@ -195,12 +195,24 @@ on_name_owner_changed (PhoshTorchManager *self,
static void
phosh_torch_manager_dispose (GObject *object)
PhoshTorchManager *self = PHOSH_TORCH_MANAGER(object);
g_clear_object (&self->proxy);
G_OBJECT_CLASS (phosh_torch_manager_parent_class)->dispose (object);
static void
phosh_torch_manager_class_init (PhoshTorchManagerClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->get_property = phosh_torch_manager_get_property;
object_class->dispose = phosh_torch_manager_dispose;
g_param_spec_string ("icon-name",
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