diff src/skins/ui_manager.c @ 2676:096aa996e4fa

clean some more stuff at skins_cleanup()
author Tomasz Mon <desowin@gmail.com>
date Sun, 01 Jun 2008 16:28:51 +0200
parents 29526d9db9cc
children 3134a0987162
line wrap: on
line diff
--- a/src/skins/ui_manager.c	Sun Jun 01 15:57:12 2008 +0200
+++ b/src/skins/ui_manager.c	Sun Jun 01 16:28:51 2008 +0200
@@ -875,3 +875,31 @@
   }
   return -1; /* failure */
 }
+
+void
+ui_manager_destroy( void )
+{
+    g_object_unref((GObject*)toggleaction_group_others);
+    g_object_unref((GObject*)radioaction_group_anamode);
+    g_object_unref((GObject*)radioaction_group_anatype);
+    g_object_unref((GObject*)radioaction_group_scomode);
+    g_object_unref((GObject*)radioaction_group_vprmode);
+    g_object_unref((GObject*)radioaction_group_wshmode);
+    g_object_unref((GObject*)radioaction_group_refrate);
+    g_object_unref((GObject*)radioaction_group_anafoff);
+    g_object_unref((GObject*)radioaction_group_peafoff);
+    g_object_unref((GObject*)radioaction_group_vismode);
+    g_object_unref((GObject*)radioaction_group_viewtime);
+    g_object_unref((GObject*)action_group_playback);
+    g_object_unref((GObject*)action_group_playlist);
+    g_object_unref((GObject*)action_group_visualization);
+    g_object_unref((GObject*)action_group_view);
+    g_object_unref((GObject*)action_group_others);
+    g_object_unref((GObject*)action_group_playlist_add);
+    g_object_unref((GObject*)action_group_playlist_select);
+    g_object_unref((GObject*)action_group_playlist_delete);
+    g_object_unref((GObject*)action_group_playlist_sort);
+    g_object_unref((GObject*)action_group_equalizer);
+    g_object_unref((GObject*)ui_manager);
+}
+