summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-18 21:00:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-18 21:00:44 +0000
commit5bf4b2f4424a6f65167aadd58a4caf6aeb86f99e (patch)
tree8dc8a10d8d9943f9c61d3e072af48f9f16d5e449 /gtk/gtkfilechooser.c
parent116c3e66afb074dabffb9debf42f018ab5ea93b4 (diff)
downloadgtk+-5bf4b2f4424a6f65167aadd58a4caf6aeb86f99e.tar.gz
Use the correct function to conver the uri to a path. (#304565, Ismael
2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): Use the correct function to conver the uri to a path. (#304565, Ismael Juma)
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 0c12919316..2241aef270 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -1742,7 +1742,7 @@ gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser,
g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
g_return_val_if_fail (uri != NULL, FALSE);
- path = gtk_file_system_filename_to_path (_gtk_file_chooser_get_file_system (chooser), uri);
+ path = gtk_file_system_uri_to_path (_gtk_file_chooser_get_file_system (chooser), uri);
if (!path)
{
g_set_error (error,