From a1894051618b168045d202641ee7c6fe3571932f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 15 Sep 2000 15:52:23 +0000 Subject: 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 --- shell/ChangeLog | 5 +++++ shell/e-storage.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'shell') 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 + + * 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 * 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; -- cgit v1.2.3