diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-09-02 05:54:50 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-09-02 05:54:50 +0800 |
commit | fcad5f23f2ac8c0bd238d23600f1ba50eae4e952 (patch) | |
tree | aa924382243c1c3a3bd8793ba0c53950c903402e /shell | |
parent | 3463239ee139b221446d93b3c2ab2abbe1aedd9c (diff) | |
download | gsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.tar.gz gsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.tar.zst gsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.zip |
Strdup path when setting the callback data.
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.
svn path=/trunk/; revision=5168
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/e-local-storage.c | 2 | ||||
-rw-r--r-- | shell/evolution-storage.c | 1 |
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); |