Commit 3a9e3b93 authored by Slava Monich's avatar Slava Monich

[libmce-glib] Disconnect display_status_ind handler

... when MceDisplay object is being finalized.
parent 9b0fa09f
......@@ -280,6 +280,8 @@ mce_display_finalize(
MceDisplay* self = MCE_DISPLAY(object);
MceDisplayPriv* priv = self->priv;
g_signal_handler_disconnect(priv->proxy->signal,
priv->display_status_ind_id);
mce_proxy_unref(priv->proxy);
G_OBJECT_CLASS(PARENT_CLASS)->finalize(object);
}
......
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