changeset 1189:22707aa5ea6f trunk

[svn] - update this
author nenolod
date Sun, 11 Jun 2006 23:51:55 -0700
parents 35dc5d2a1675
children 84169cc8cb2d
files ChangeLog Plugins/General/scrobbler/xmms_scrobbler.c
diffstat 2 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jun 11 23:51:02 2006 -0700
+++ b/ChangeLog	Sun Jun 11 23:51:55 2006 -0700
@@ -1,3 +1,13 @@
+2006-06-12 06:51:02 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1286]
+  - another API change [sorry!]
+  
+
+  Changes:        Modified:
+  +8 -2           trunk/audacious/prefswin.c  
+  +1 -1           trunk/audacious/prefswin.h  
+
+
 2006-06-12 06:38:50 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1284]
   - remove the preferences UI on unload
--- a/Plugins/General/scrobbler/xmms_scrobbler.c	Sun Jun 11 23:51:02 2006 -0700
+++ b/Plugins/General/scrobbler/xmms_scrobbler.c	Sun Jun 11 23:51:55 2006 -0700
@@ -39,7 +39,7 @@
 static void *xs_thread(void *);
 static void *hs_thread(void *);
 static int going;
-static gint sc_id;
+static GtkWidget *cfgdlg;
 
 static GThread *pt_scrobbler;
 static GMutex *m_scrobbler;
@@ -63,9 +63,9 @@
 	ConfigDb *cfgfile;
 	going = 1;
 	GError **moo = NULL;
-	GtkWidget *cfgdlg = create_cfgdlg();
+	cfgdlg = create_cfgdlg();
 
-        sc_id = prefswin_page_new(cfgdlg, "Last.FM", DATA_DIR "/images/audioscrobbler.png");
+        prefswin_page_new(cfgdlg, "Last.FM", DATA_DIR "/images/audioscrobbler.png");
 
 	if ((cfgfile = bmp_cfg_db_open()) != NULL) {
 		bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "username",
@@ -114,7 +114,7 @@
 
 	g_thread_join(pt_handshake);
 
-        prefswin_page_destroy(sc_id);
+        prefswin_page_destroy(cfgdlg);
 
 	sc_cleaner();
 }