diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-15 23:52:23 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-15 23:52:23 +0800 |
commit | a1894051618b168045d202641ee7c6fe3571932f (patch) | |
tree | c4c547c63028566153095b82decd920d48b445c7 | |
parent | 3b3f989e833c51ff0f8f0d544e14dec5e93a64dd (diff) | |
download | gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar.gz gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar.bz2 gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar.lz gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar.xz gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.tar.zst gsoc2013-evolution-a1894051618b168045d202641ee7c6fe3571932f.zip |
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
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage.c | 8 |
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; |