vertical-row: Don't manually unparent child anymore
In the GTK3 days, HdyPreferencesRow (and GtkListBoxRow) did not automatically unparent children. In GTK4, AdwPreferencesRow (and GtkListBoxRow) do, so stop manually unparenting child widgets.
This commit is contained in:
parent
80d86f9d89
commit
e45ae68a5b
1 changed files with 0 additions and 4 deletions
|
@ -189,10 +189,6 @@ cc_vertical_row_dispose (GObject *object)
|
|||
}
|
||||
|
||||
cc_vertical_row_set_activatable_widget (self, NULL);
|
||||
if (priv->header != NULL) {
|
||||
gtk_widget_unparent (GTK_WIDGET (priv->header));
|
||||
priv->header = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (cc_vertical_row_parent_class)->dispose (object);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue