From 674a09b0f31fb2a0216ceb67e17718ce93fdc5fc Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 31 Aug 2004 03:26:15 +0000 Subject: ** See bug #64377. 2004-08-30 Not Zed ** See bug #64377. * em-folder-selector.c (emfs_response): only set the uri if we have one to set. * em-folder-tree.c (em_folder_tree_finalize): Removed cose using selected_path and selected_uri strings. (emft_popup_new_folder): " (emft_popup_copy_folder_selected): " (emft_tree_selection_changed): (emft_tree_row_activated): ", free paths after use. * em-folder-selector.c (emfs_create_name_changed): free get_selected_uri return. (emfs_create_name_activate): " (em_folder_selector_get_selected_path): handle api change, store the selected_path too. * em-folder-tree.c (em_folder_tree_get_selected_uri): de-constify,and get the selection directly from the tree. (em_folder_tree_get_selected_path): same. svn path=/trunk/; revision=27092 --- mail/em-folder-tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/em-folder-tree.h') diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h index 9b97ec0e9b..8ce1ad5873 100644 --- a/mail/em-folder-tree.h +++ b/mail/em-folder-tree.h @@ -80,8 +80,8 @@ GList *em_folder_tree_get_selected_uris (EMFolderTree *emft); GList *em_folder_tree_get_selected_paths (EMFolderTree *emft); void em_folder_tree_set_selected (EMFolderTree *emft, const char *uri); -const char *em_folder_tree_get_selected_uri (EMFolderTree *emft); -const char *em_folder_tree_get_selected_path (EMFolderTree *emft); +char *em_folder_tree_get_selected_uri (EMFolderTree *emft); +char *em_folder_tree_get_selected_path (EMFolderTree *emft); EMFolderTreeModel *em_folder_tree_get_model (EMFolderTree *emft); -- cgit