Commit 34f1ae8f authored by Matthias Clasen's avatar Matthias Clasen

fontchooser: Fix up the previous commit

parent 042537cf
Pipeline #143633 failed with stages
in 21 minutes and 38 seconds
......@@ -716,7 +716,8 @@ gtk_font_chooser_widget_dispose (GObject *object)
GtkFontChooserWidget *self = GTK_FONT_CHOOSER_WIDGET (object);
GtkFontChooserWidgetPrivate *priv = gtk_font_chooser_widget_get_instance_private (self);
gtk_tree_view_set_model (GTK_TREE_VIEW (priv->family_face_list), NULL);
if (priv->family_face_list)
gtk_tree_view_set_model (GTK_TREE_VIEW (priv->family_face_list), NULL);
g_clear_pointer (&priv->stack, gtk_widget_unparent);
G_OBJECT_CLASS (gtk_font_chooser_widget_parent_class)->dispose (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