diff src/scrobbler/plugin.c @ 2328:224727e6c73d

if apply_timeout hasn't passed before cleanup, save password during cleanup; minor changes to saveconfig()
author Tomasz Mon <desowin@gmail.com>
date Fri, 18 Jan 2008 18:56:34 +0100
parents d7c321957be8
children 42a5c9d5830b
line wrap: on
line diff
--- a/src/scrobbler/plugin.c	Fri Jan 18 00:41:52 2008 +0200
+++ b/src/scrobbler/plugin.c	Fri Jan 18 18:56:34 2008 +0100
@@ -23,6 +23,7 @@
 #include <wchar.h>
 #include <sys/time.h>
 
+#include "plugin.h"
 #include "scrobbler.h"
 #include "gerpok.h"
 #include "gtkstuff.h"
@@ -30,7 +31,6 @@
 #include "fmt.h"
 #include "configure.h"
 
-#define XS_CS xmms_scrobbler.xmms_session
 #define XS_SLEEP 1
 #define HS_SLEEP 10
 
@@ -222,6 +222,7 @@
 static void cleanup(void)
 {
     stop();
+    configure_cleanup();
     aud_prefswin_page_destroy(cfgdlg);
 }