diff src/scrobbler/xmms_scrobbler.c @ 108:0eb1e99b7748 trunk

[svn] - move prefswin_page_destroy(cfgdlg) to before the plugin logs out of last.fm; otherwise the prefswin_page handle isn't always removed. Reported on IRC by Tim Yamin <plasmaroo -at- gentoo.org>
author nenolod
date Tue, 24 Oct 2006 18:15:53 -0700
parents 3da1b8942b8b
children 03c1ae10bc8d
line wrap: on
line diff
--- a/src/scrobbler/xmms_scrobbler.c	Tue Oct 24 01:44:06 2006 -0700
+++ b/src/scrobbler/xmms_scrobbler.c	Tue Oct 24 18:15:53 2006 -0700
@@ -101,6 +101,8 @@
     g_free (xmms_scrobbler.description);
     xmms_scrobbler.description = NULL;
 
+        prefswin_page_destroy(cfgdlg);
+
 	if (!going)
 		return;
 	pdebug("about to lock mutex", DEBUG);
@@ -113,8 +115,6 @@
 
 	g_thread_join(pt_handshake);
 
-        prefswin_page_destroy(cfgdlg);
-
 	sc_cleaner();
 }