forked from AuroraMiddleware/gtk
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:
parent
116c3e66af
commit
5bf4b2f442
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user