aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 362ded2c03..c3ba7aeb0c 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -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):
diff --git a/shell/e-storage.c b/shell/e-storage.c
index df69f33fd9..61b185fb6a 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -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;