]> git.street.me.uk Git - andy/viking.git/blobdiff - src/background.c
Ensure highlight for a single track or waypoint is always shown on top.
[andy/viking.git] / src / background.c
index a9296678ff535d56cc8400259947bede4f6376ae..b388fb599be6ee8c02fe594906633cbba9f4ad98 100644 (file)
@@ -291,6 +291,11 @@ void a_background_uninit()
   /* wait until all running threads stop */
   stop_all_threads = TRUE;
   g_thread_pool_free ( thread_pool, TRUE, TRUE );
+
+  gtk_list_store_clear ( bgstore );
+  g_object_unref ( bgstore );
+
+  gtk_widget_destroy ( bgwindow );
 }
 
 void a_background_add_window (VikWindow *vw)