Commit 115d92aa authored by Javier Jardón's avatar Javier Jardón

gtkappchooserwidget: Use g_object_clear()

parent 182fbba2
......@@ -993,11 +993,7 @@ gtk_app_chooser_widget_dispose (GObject *object)
{
GtkAppChooserWidget *self = GTK_APP_CHOOSER_WIDGET (object);
if (self->priv->selected_app_info != NULL)
{
g_object_unref (self->priv->selected_app_info);
self->priv->selected_app_info = NULL;
}
g_clear_object (&self->priv->selected_app_info);
G_OBJECT_CLASS (gtk_app_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