diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-09-26 18:36:47 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-09-26 18:36:47 +0800 |
commit | 0168b67f2a6450d287d50905d6d1c94073f5cc76 (patch) | |
tree | 2979bb86830137ffdcf83977c875376d21a102b1 | |
parent | 820fc32eb4be3745f9cc7554bd954f513ec45d84 (diff) | |
download | gsoc2013-evolution-0168b67f2a6450d287d50905d6d1c94073f5cc76.tar.gz gsoc2013-evolution-0168b67f2a6450d287d50905d6d1c94073f5cc76.tar.zst gsoc2013-evolution-0168b67f2a6450d287d50905d6d1c94073f5cc76.zip |
Use e_tree_selected_path_foreach instead of e_tree_selected_row_foreach
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* message-list.c (message_list_foreach): Use
e_tree_selected_path_foreach instead of
e_tree_selected_row_foreach here.
svn path=/trunk/; revision=13145
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/message-list.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6f955f49d4..dedc1e5203 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-09-26 Christopher James Lahey <clahey@ximian.com> + + * message-list.c (message_list_foreach): Use + e_tree_selected_path_foreach instead of + e_tree_selected_row_foreach here. + 2001-09-27 Michael Meeks <michael@ximian.com> * mail-config.c (mail_config_init): report the diff --git a/mail/message-list.c b/mail/message-list.c index 4d083819fb..da895d619f 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2054,13 +2054,13 @@ struct message_list_foreach_data { }; static void -mlfe_callback (int row, gpointer user_data) +mlfe_callback (ETreePath path, gpointer user_data) { struct message_list_foreach_data *mlfe_data = user_data; const char *uid; uid = get_message_uid (mlfe_data->message_list, - e_tree_node_at_row (mlfe_data->message_list->tree, row)); + path); if (uid) { mlfe_data->callback (mlfe_data->message_list, uid, mlfe_data->user_data); @@ -2081,8 +2081,8 @@ message_list_foreach (MessageList *message_list, mlfe_data.message_list = message_list; mlfe_data.callback = callback; mlfe_data.user_data = user_data; - e_tree_selected_row_foreach (message_list->tree, - mlfe_callback, &mlfe_data); + e_tree_selected_path_foreach (message_list->tree, + mlfe_callback, &mlfe_data); } /* set whether we are in threaded view or flat view */ |