From 2e052ddfc7deb953b8b5bb4aa5c4dc90d4362588 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 21 Sep 2001 15:52:40 +0000 Subject: don't use gnome_vfs_uri_new_private (fixes Ximian #10544) 2001-09-20 Rodrigo Moya * gui/component-factory.c: don't use gnome_vfs_uri_new_private (fixes Ximian #10544) svn path=/trunk/; revision=13048 --- calendar/gui/calendar-component.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index bc1b1cdf3e..574a700e76 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include @@ -124,7 +123,7 @@ create_folder (EvolutionShellComponent *shell_component, return; } - uri = gnome_vfs_uri_new_private (physical_uri, TRUE, TRUE, TRUE); + uri = gnome_vfs_uri_new (physical_uri); if (uri) { /* we don't need to do anything */ GNOME_Evolution_ShellComponentListener_notifyResult ( @@ -171,7 +170,7 @@ remove_folder (EvolutionShellComponent *shell_component, } /* check URI */ - dir_uri = gnome_vfs_uri_new_private (physical_uri, TRUE, TRUE, TRUE); + dir_uri = gnome_vfs_uri_new (physical_uri); if (!dir_uri) { CORBA_Environment ev; @@ -292,8 +291,8 @@ xfer_folder (EvolutionShellComponent *shell_component, } /* check URIs */ - src_uri = gnome_vfs_uri_new_private (source_physical_uri, TRUE, TRUE, TRUE); - dest_uri = gnome_vfs_uri_new_private (destination_physical_uri, TRUE, TRUE, TRUE); + src_uri = gnome_vfs_uri_new (source_physical_uri); + dest_uri = gnome_vfs_uri_new (destination_physical_uri); if (!src_uri || ! dest_uri) { GNOME_Evolution_ShellComponentListener_notifyResult ( listener, @@ -331,7 +330,7 @@ xfer_folder (EvolutionShellComponent *shell_component, continue; /* open source and destination files */ - src_uri = gnome_vfs_uri_new_private (source_physical_uri, TRUE, TRUE, TRUE); + src_uri = gnome_vfs_uri_new (source_physical_uri); src_uri = gnome_vfs_uri_append_file_name (src_uri, file_info->name); result = gnome_vfs_open_uri (&hin, src_uri, GNOME_VFS_OPEN_READ); @@ -345,7 +344,7 @@ xfer_folder (EvolutionShellComponent *shell_component, break; } - dest_uri = gnome_vfs_uri_new_private (destination_physical_uri, TRUE, TRUE, TRUE); + dest_uri = gnome_vfs_uri_new (destination_physical_uri); dest_uri = gnome_vfs_uri_append_file_name (dest_uri, file_info->name); result = gnome_vfs_create_uri (&hout, dest_uri, GNOME_VFS_OPEN_WRITE, FALSE, 0); -- cgit