# HG changeset patch # User William Pitcock # Date 1192410668 18000 # Node ID f235b4a365a6caa952dd5cb0bb0777d8d5b82ea1 # Parent 8404e52b00e40ef21d405d4ac00bac9e4edacc9b prefswin shit diff -r 8404e52b00e4 -r f235b4a365a6 src/scrobbler/plugin.c --- a/src/scrobbler/plugin.c Sun Oct 14 19:26:23 2007 -0500 +++ b/src/scrobbler/plugin.c Sun Oct 14 20:11:08 2007 -0500 @@ -101,7 +101,7 @@ GError **moo = NULL; cfgdlg = create_cfgdlg(); - prefswin_page_new(cfgdlg, "Scrobbler", DATA_DIR "/images/audioscrobbler.png"); + aud_prefswin_page_new(cfgdlg, "Scrobbler", DATA_DIR "/images/audioscrobbler.png"); if ((cfgfile = bmp_cfg_db_open()) != NULL) { bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "username", @@ -172,7 +172,7 @@ static void cleanup(void) { - prefswin_page_destroy(cfgdlg); + aud_prefswin_page_destroy(cfgdlg); if (!sc_going && !ge_going) return; diff -r 8404e52b00e4 -r f235b4a365a6 src/song_change/song_change.c --- a/src/song_change/song_change.c Sun Oct 14 19:26:23 2007 -0500 +++ b/src/song_change/song_change.c Sun Oct 14 20:11:08 2007 -0500 @@ -206,7 +206,7 @@ cmd_line_ttc = NULL; signal(SIGCHLD, SIG_DFL); - prefswin_page_destroy(configure_vbox); + aud_prefswin_page_destroy(configure_vbox); } static void save_and_close(GtkWidget *w, gpointer data) @@ -450,7 +450,7 @@ read_config(); configure_vbox = configure(); - prefswin_page_new(configure_vbox, "Song Change", DATA_DIR "/images/plugins.png"); + aud_prefswin_page_new(configure_vbox, "Song Change", DATA_DIR "/images/plugins.png"); aud_hook_associate("playback begin", songchange_playback_begin, NULL); aud_hook_associate("playback end", songchange_playback_end, NULL);