changeset 2986:4fb16b502a06 trunk

Use gtk_file_chooser_get_uris() to enforce proper VFS URIs being passed around.
author William Pitcock <nenolod@atheme-project.org>
date Thu, 05 Jul 2007 00:56:01 -0500
parents 13f8e30f335f
children 7f17c37db82b
files src/audacious/ui_fileopener.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileopener.c	Thu Jul 05 00:49:08 2007 -0500
+++ b/src/audacious/ui_fileopener.c	Thu Jul 05 00:56:01 2007 -0500
@@ -73,7 +73,7 @@
     play_button =
         GPOINTER_TO_INT(g_object_get_data(data, "play-button"));
 
-    files = gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(chooser));
+    files = gtk_file_chooser_get_uris(GTK_FILE_CHOOSER(chooser));
     if (!files) return;
 
     if (play_button)