diff options
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r-- | shell/e-storage.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c index 4f7fc7d134..5983f7c535 100644 --- a/shell/e-storage.c +++ b/shell/e-storage.c @@ -28,6 +28,11 @@ #include <config.h> #endif +#include "e-storage.h" + +#include "e-folder-tree.h" +#include "e-shell-constants.h" + #include <gtk/gtkobject.h> #include <gtk/gtksignal.h> @@ -35,10 +40,6 @@ #include <libgnome/gnome-i18n.h> #include <gal/util/e-util.h> -#include "e-folder-tree.h" - -#include "e-storage.h" - #define PARENT_TYPE GTK_TYPE_OBJECT static GtkObjectClass *parent_class = NULL; @@ -342,7 +343,7 @@ e_storage_path_is_absolute (const char *path) { g_return_val_if_fail (path != NULL, FALSE); - return *path == G_DIR_SEPARATOR; + return *path == E_PATH_SEPARATOR; } gboolean @@ -350,7 +351,7 @@ e_storage_path_is_relative (const char *path) { g_return_val_if_fail (path != NULL, FALSE); - return *path != G_DIR_SEPARATOR; + return *path != E_PATH_SEPARATOR; } @@ -451,7 +452,7 @@ e_storage_async_xfer_folder (EStorage *storage, destination_len = strlen (destination_path); if (source_len < destination_len - && destination_path[source_len] == G_DIR_SEPARATOR + && destination_path[source_len] == E_PATH_SEPARATOR && strncmp (destination_path, source_path, source_len) == 0) { (* callback) (storage, E_STORAGE_CANTMOVETODESCENDANT, data); return; |