changeset 4716:8e62ba58ea6e

made fileopener legacy-free
author mf0102 <0102@gmx.at>
date Wed, 09 Jul 2008 11:41:31 +0200
parents 08ec4e638c2d
children d59d0c490a61
files src/audacious/ui_fileopener.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileopener.c	Tue Jul 08 17:55:59 2008 +0200
+++ b/src/audacious/ui_fileopener.c	Wed Jul 09 11:41:31 2008 +0200
@@ -27,7 +27,6 @@
 #include "main.h"
 #include "playback.h"
 #include "strings.h"
-#include "legacy/ui_playlist.h"
 
 static void
 filebrowser_add_files(GtkFileChooser * browser,
@@ -49,7 +48,7 @@
         g_free(filename);
     } 
 
-    playlistwin_update_list(playlist);
+    hook_call("playlist update", playlist);
 
     ptr = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(browser));
 
@@ -286,7 +285,7 @@
         playlist_add(playlist, filename);
         g_free(filename);
     }
-    playlistwin_update_list(playlist);
+    hook_call("playlist update", playlist);
 
     gtk_label_get(GTK_LABEL(GTK_BIN(filesel->history_pulldown)->child),
           &ptr);