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
This commit is contained in:
committed by
Chris Lahey
parent
3463239ee1
commit
fcad5f23f2
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user