aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-local-storage.c2
-rw-r--r--shell/evolution-storage.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index a7971bd973..2beeff6f80 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-01 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-local-storage.c: Strdup path when setting the callback data.
+
+ * evolution-storage.c: Removed an unused variable.
+
2000-08-31 Chris Toshok <toshok@helixcode.com>
* e-shell-view.c (init): initialize delayed_selection = NULL;
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index de8e23e704..a66990f03a 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -465,7 +465,7 @@ impl_async_create_folder (EStorage *storage,
callback_data = g_new (AsyncCreateFolderCallbackData, 1);
callback_data->storage = storage;
- callback_data->path = path;
+ callback_data->path = g_strdup (path);
callback_data->display_name = g_strdup (folder_name);
callback_data->type = g_strdup (type);
callback_data->description = g_strdup (description);
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c
index 6b768770bd..670765482c 100644
--- a/shell/evolution-storage.c
+++ b/shell/evolution-storage.c
@@ -297,7 +297,6 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage,
Evolution_Folder corba_folder;
CORBA_Environment ev;
const char *path_basename;
- char *parent_path;
g_return_val_if_fail (evolution_storage != NULL,
EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);