gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use

2008-06-10  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
	use g_file_new_for_uri.


svn path=/trunk/; revision=20347
This commit is contained in:
Paolo Borelli 2008-06-10 12:21:58 +00:00 committed by Paolo Borelli
parent 9d73677b5a
commit b4791bb2ff
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-10 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
use g_file_new_for_uri.
2008-06-10 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not

View File

@ -954,7 +954,7 @@ gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
g_return_val_if_fail (uri != NULL, FALSE);
file = g_file_new_for_path (uri);
file = g_file_new_for_uri (uri);
result = _gtk_file_chooser_set_current_folder_file (chooser, file, NULL);
g_object_unref (file);