changeset 2094:7ea9a6177232 trunk

[svn] Update equalizer.c to new API
author kiyoshi
date Mon, 11 Dec 2006 04:56:46 -0800
parents b05046902327
children 855bba3f364e
files ChangeLog audacious/equalizer.c
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 11 04:53:17 2006 -0800
+++ b/ChangeLog	Mon Dec 11 04:56:46 2006 -0800
@@ -1,3 +1,10 @@
+2006-12-11 12:53:17 +0000  Kiyoshi Aman <kiyoshi.aman@gmail.com>
+  revision [3191]
+  Oops. controlsocket.c is *much* happier now that the arguments are in the right order. >.>
+  trunk/audacious/controlsocket.c |   32 ++++++++++++++++----------------
+  1 file changed, 16 insertions(+), 16 deletions(-)
+
+
 2006-12-11 12:53:05 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3189]
   - update to new API
--- a/audacious/equalizer.c	Mon Dec 11 04:53:17 2006 -0800
+++ b/audacious/equalizer.c	Mon Dec 11 04:56:46 2006 -0800
@@ -1689,7 +1689,8 @@
             else
                 gtk_window_present(GTK_WINDOW(equalizerwin_save_auto_window));
 
-            name = playlist_get_filename(playlist_get_position());
+            name = playlist_get_filename(playlist_get_active(),
+                                         playlist_get_position(playlist_get_active()));
 
             if (name) {
                 gtk_entry_set_text(GTK_ENTRY(equalizerwin_save_auto_entry),
@@ -1714,7 +1715,8 @@
                              G_CALLBACK(equalizerwin_file_chooser_on_response),
                              save_preset_file);
 
-            songname = playlist_get_filename(playlist_get_position());
+            songname = playlist_get_filename(playlist_get_active(),
+                                             playlist_get_position(playlist_get_active()));
             if (songname) {
                 gchar *eqname = g_strdup_printf("%s.%s", songname,
                                                 cfg.eqpreset_extension);