changeset 2844:d75f0db10f53

remove few not needed anymore #if 0
author Tomasz Mon <desowin@gmail.com>
date Wed, 23 Jul 2008 14:29:25 +0200
parents 29a14d80fcd8
children d0cbf303869b
files src/skins/plugin.c src/skins/ui_main.c src/skins/ui_playlist.c
diffstat 3 files changed, 2 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/plugin.c	Tue Jul 22 14:26:50 2008 +0100
+++ b/src/skins/plugin.c	Wed Jul 23 14:29:25 2008 +0200
@@ -79,6 +79,8 @@
     skins_init_paths();
     skins_cfg_load();
 
+    ui_main_check_theme_engine();
+
     register_aud_stock_icons();
     ui_manager_init();
     ui_manager_create_menus();
--- a/src/skins/ui_main.c	Tue Jul 22 14:26:50 2008 +0100
+++ b/src/skins/ui_main.c	Wed Jul 23 14:29:25 2008 +0200
@@ -58,20 +58,6 @@
 #include "ui_hints.h"
 #include "dnd.h"
 #include "plugin.h"
-#if 0
-#include "configdb.h"
-#include "input.h"
-#include "main.h"
-#include "playback.h"
-#include "playlist.h"
-#include "pluginenum.h"
-#include "strings.h"
-#include "ui_dock.h"
-#include "ui_main_evlisteners.h"
-#include "ui_skinselector.h"
-#include "util.h"
-#include "visualization.h"
-#endif
 #include "ui_skinned_window.h"
 #include "ui_skinned_button.h"
 #include "ui_skinned_textbox.h"
@@ -346,11 +332,7 @@
 static void
 mainwin_destroy(GtkWidget * widget, gpointer data)
 {
-/* we should detect whether plugin got unloaded and when user indeed
-   wants to close audacious */
-#if 0
     mainwin_quit_cb();
-#endif
 }
 
 static gchar *mainwin_tb_old_text = NULL;
--- a/src/skins/ui_playlist.c	Tue Jul 22 14:26:50 2008 +0100
+++ b/src/skins/ui_playlist.c	Wed Jul 23 14:29:25 2008 +0200
@@ -42,14 +42,6 @@
 #include "actions-playlist.h"
 #include "dnd.h"
 #include "plugin.h"
-#if 0
-#include "input.h"
-#include "main.h"
-#include "playback.h"
-#include "playlist.h"
-#include "playlist_container.h"
-#include "strings.h"
-#endif
 #include "ui_dock.h"
 #include "ui_equalizer.h"
 #include "ui_main.h"