aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-09-21 23:52:40 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-09-21 23:52:40 +0800
commit2e052ddfc7deb953b8b5bb4aa5c4dc90d4362588 (patch)
tree8a866ceb689cbacf7896d558df609e822961248d /calendar/gui
parenteb5e0f7b962edc4be7a76a65463bc1700df0fe6d (diff)
downloadgsoc2013-evolution-2e052ddfc7deb953b8b5bb4aa5c4dc90d4362588.tar.gz
gsoc2013-evolution-2e052ddfc7deb953b8b5bb4aa5c4dc90d4362588.tar.zst
gsoc2013-evolution-2e052ddfc7deb953b8b5bb4aa5c4dc90d4362588.zip
don't use gnome_vfs_uri_new_private (fixes Ximian #10544)
2001-09-20 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c: don't use gnome_vfs_uri_new_private (fixes Ximian #10544) svn path=/trunk/; revision=13048
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c13
-rw-r--r--calendar/gui/component-factory.c13
2 files changed, 12 insertions, 14 deletions
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 <libgnomevfs/gnome-vfs-ops.h>
#include <libgnomevfs/gnome-vfs-directory.h>
#include <libgnomevfs/gnome-vfs-file-info.h>
-#include <libgnomevfs/gnome-vfs-private-utils.h>
#include <bonobo/bonobo-generic-factory.h>
#include <bonobo/bonobo-context.h>
@@ -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);
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index bc1b1cdf3e..574a700e76 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -30,7 +30,6 @@
#include <libgnomevfs/gnome-vfs-ops.h>
#include <libgnomevfs/gnome-vfs-directory.h>
#include <libgnomevfs/gnome-vfs-file-info.h>
-#include <libgnomevfs/gnome-vfs-private-utils.h>
#include <bonobo/bonobo-generic-factory.h>
#include <bonobo/bonobo-context.h>
@@ -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);