From 309828238205027ad2529a5a6d614d25b2d0d2ee Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 27 Jul 2016 10:51:59 -0400 Subject: [PATCH] gui/artwork: Don't destroy objects twice The file filter and preview widget are both cleaned up when the file chooser dialog is destroyed. Signed-off-by: Anna Schumaker --- gui/artwork.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gui/artwork.c b/gui/artwork.c index b0cc2f20..3c544d56 100644 --- a/gui/artwork.c +++ b/gui/artwork.c @@ -148,6 +148,4 @@ void __artwork_select_cover(GtkButton *button) } gtk_widget_destroy(dialog); - gtk_widget_destroy(preview); - g_object_unref(filter); }