diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-19 02:16:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-19 02:16:18 +0800 |
commit | d2d0eebd74237b46adb8115b2f89e2b1eb2a3898 (patch) | |
tree | b03350f63b15335e4527cebe95404ac3c4d67bb7 /shell/e-storage.c | |
parent | 85e032b504cc9a12affba776150df6908d84bea3 (diff) | |
download | gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.gz gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.zst gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.zip |
Removed unused variable.
* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Removed unused
variable.
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Removed unused variable.
* e-storage.c
(e_storage_path_is_absolute)
(e_storage_path_is_relative)
(e_storage_async_xfer_folder)
* e-storage-set.c
(make_full_path)
(get_storage_for_path)
(signal_new_folder_for_all_folders_under_paths)
(signal_new_folder_for_all_folders_in_storage)
(e_storage_set_get_path_for_physical_uri)
* e-storage-set-view.c
(storage_sort_callback)
(new_storage_cb)
(removed_storage_cb)
(new_folder_cb)
* e-shortcuts-view.c
(get_shortcut_info):
* e-shell-view.c
(handle_current_folder_removed)
* e-shell-utils.c
(e_shell_folder_name_is_valid):
* e-local-storage.c
(construct):
* e-folder-tree.c
(get_parent_path)
(get_parent_path)
(e_folder_tree_destroy)
(e_folder_tree_add)
(e_folder_tree_foreach)
* e-folder-dnd-bridge.c
(handle_data_received_path)
* evolution-storage.c
(make_full_uri):
* e-shell-constants.h: New #defines E_PATH_SEPARATOR and
E_PATH_SEPARATOR_S.
* e-local-storage.c (load_folder): Don't add the folder if its
type isn't registered.
svn path=/trunk/; revision=17510
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; |