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)
This commit is contained in:
Matthias Clasen 2005-05-18 21:00:44 +00:00 committed by Matthias Clasen
parent 116c3e66af
commit 5bf4b2f442
4 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,9 @@
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)
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)

View File

@ -1,5 +1,9 @@
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)
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)

View File

@ -1,5 +1,9 @@
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)
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)

View File

@ -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,