Commit 665c683a authored by Matt Turner's avatar Matt Turner
Browse files

preferences-group: Remove an unnecessary cast

box is already a `GtkWidget *`, so the cast suggests that there is an
aliasing violation happening here.
parent 95da9f06
Pipeline #424716 passed with stages
in 5 minutes and 17 seconds
......@@ -202,7 +202,7 @@ hdy_preferences_group_destroy (GtkWidget *widget)
* Since we overload forall(), the inherited destroy() won't work as normal.
* Remove internal widgets ourselves.
g_clear_pointer ((GtkWidget **) &priv->box, gtk_widget_destroy);
g_clear_pointer (&priv->box, gtk_widget_destroy);
priv->description = NULL;
priv->listbox = NULL;
priv->listbox_box = NULL;
Supports Markdown
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