changeset 2637:7156fc000796

little change
author Tomasz Mon <desowin@gmail.com>
date Fri, 23 May 2008 12:03:01 +0200
parents 1aa52f6d547a
children aa17ced2b4d6
files src/skins/plugin.c src/skins/ui_skin.h src/skins/ui_skinned_window.c
diffstat 3 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/plugin.c	Fri May 23 11:56:03 2008 +0200
+++ b/src/skins/plugin.c	Fri May 23 12:03:01 2008 +0200
@@ -78,6 +78,8 @@
         aud_active_skin = NULL;
         mainwin = NULL;
         equalizerwin = NULL;
+        playlistwin = NULL;
+        mainwin_info = NULL;
         plugin_is_active = FALSE;
     }
 
--- a/src/skins/ui_skin.h	Fri May 23 11:56:03 2008 +0200
+++ b/src/skins/ui_skin.h	Fri May 23 12:03:01 2008 +0200
@@ -210,6 +210,7 @@
 gboolean skin_reload_forced(void);
 void skin_reload(Skin * skin);
 void skin_free(Skin * skin);
+void skin_destroy(Skin * skin);
 
 GdkBitmap *skin_get_mask(Skin * skin, SkinMaskId mi);
 GdkColor *skin_get_color(Skin * skin, SkinColorId color_id);
--- a/src/skins/ui_skinned_window.c	Fri May 23 11:56:03 2008 +0200
+++ b/src/skins/ui_skinned_window.c	Fri May 23 12:03:01 2008 +0200
@@ -18,20 +18,20 @@
  * Audacious or using our public API to be a derived work.
  */
 
-#include "platform/smartinclude.h"
-#include "ui_skin.h"
-#include "skins_cfg.h"
-
 #include <gtk/gtkmain.h>
 #include <glib-object.h>
 #include <glib/gmacros.h>
 #include <gtk/gtkmarshal.h>
 #include <gtk/gtkwindow.h>
 #include <string.h>
-
 #include <audacious/plugin.h>
+#include "platform/smartinclude.h"
+#include "ui_skin.h"
+#include "skins_cfg.h"
 #include "ui_dock.h"
 #include "ui_skinned_window.h"
+#include "ui_main.h"
+#include "ui_playlist.h"
 
 static void ui_skinned_window_class_init(SkinnedWindowClass *klass);
 static void ui_skinned_window_init(GtkWidget *widget);