Mercurial > audlegacy-plugins
changeset 2071:f235b4a365a6
prefswin shit
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 14 Oct 2007 20:11:08 -0500 |
parents | 8404e52b00e4 |
children | e7acdde315ca |
files | src/scrobbler/plugin.c src/song_change/song_change.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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);