foreach_data should be set to the caller-supplied data, not the tree item
* e-storage.c (get_path_for_physical_uri_foreach): foreach_data should be set to the caller-supplied data, not the tree item data. svn path=/trunk/; revision=5452
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2000-09-15 Dan Winship <danw@helixcode.com>
|
||||
|
||||
* e-storage.c (get_path_for_physical_uri_foreach): foreach_data
|
||||
should be set to the caller-supplied data, not the tree item data.
|
||||
|
||||
2000-09-14 Iain Holmes <iain@helixcode.com>
|
||||
|
||||
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
|
||||
|
@ -353,18 +353,18 @@ typedef struct _GetPathForPhysicalUriForeachData GetPathForPhysicalUriForeachDat
|
||||
static void
|
||||
get_path_for_physical_uri_foreach (EFolderTree *folder_tree,
|
||||
const char *path,
|
||||
void *data,
|
||||
void *closure)
|
||||
void *path_data,
|
||||
void *user_data)
|
||||
{
|
||||
GetPathForPhysicalUriForeachData *foreach_data;
|
||||
const char *physical_uri;
|
||||
EFolder *e_folder;
|
||||
|
||||
foreach_data = (GetPathForPhysicalUriForeachData *) data;
|
||||
foreach_data = (GetPathForPhysicalUriForeachData *) user_data;
|
||||
if (foreach_data->retval != NULL)
|
||||
return;
|
||||
|
||||
e_folder = (EFolder *) data;
|
||||
e_folder = (EFolder *) path_data;
|
||||
if (e_folder == NULL)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user