Skip to content
Snippets Groups Projects
Commit 0d3ab066 authored by Adrien Plazas's avatar Adrien Plazas Committed by Guido Gunther
Browse files

action-row: Chain up the parent dispose method

parent 04ce4bd7
No related branches found
No related tags found
1 merge request!190action-row: Chain up the parent dispose method
......@@ -170,11 +170,12 @@ hdy_action_row_dispose (GObject *object)
HdyActionRow *self = HDY_ACTION_ROW (object);
HdyActionRowPrivate *priv = hdy_action_row_get_instance_private (self);
if (priv->previous_parent == NULL)
return;
if (priv->previous_parent != NULL) {
g_signal_handlers_disconnect_by_func (priv->previous_parent, G_CALLBACK (row_activated_cb), self);
priv->previous_parent = NULL;
}
g_signal_handlers_disconnect_by_func (priv->previous_parent, G_CALLBACK (row_activated_cb), self);
priv->previous_parent = NULL;
G_OBJECT_CLASS (hdy_action_row_parent_class)->dispose (object);
}
static void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment