[gnome-flashback] desktop-background: destroy window in finalize



commit 3fa6f8dc27a197ef92c23263bbbe8f69ed19fb05
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Apr 26 01:29:06 2016 +0300

    desktop-background: destroy window in finalize

 .../libdesktop-background/gf-desktop-background.c  |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libdesktop-background/gf-desktop-background.c 
b/gnome-flashback/libdesktop-background/gf-desktop-background.c
index 0ab5c19..78b8495 100644
--- a/gnome-flashback/libdesktop-background/gf-desktop-background.c
+++ b/gnome-flashback/libdesktop-background/gf-desktop-background.c
@@ -326,6 +326,8 @@ gf_desktop_background_finalize (GObject *object)
   g_clear_object (&background->gnome_settings);
   g_clear_object (&background->background_settings);
 
+  gtk_widget_destroy (background->background);
+
   G_OBJECT_CLASS (gf_desktop_background_parent_class)->finalize (object);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]