From a35603766331792d7a6af2d55a18aa92783c8a6d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 23 Jul 2003 15:01:26 +0000 Subject: Fix type warnings (folder_browser_toggle_caret_mode): Remove unused * folder-browser.c (message_list_drag_data_get): Fix type warnings (folder_browser_toggle_caret_mode): Remove unused variable. * folder-browser-ui.c (basename): remove unused function * mail-account-gui.c (mail_account_gui_build_extra_conf): Fix warnings * mail-callbacks.c (empty_trash): Remove unused variable. * mail-display.c: #include gal/widgets/e-gui-utils.h for e_auto_kill_popup_menu_on_selection_done * mail-importer.c: #include e-util/e-path.h for e_path_to_physical * mail-session.c (main_play_sound): don't declare filename to be const and then free it. * mail-vfolder.c (vfolder_edit_rule, vfolder_gui_add_rule): Fix casts * message-list.c (build_flat_diff): Fix a typo in the non-BROKEN_ETREE code svn path=/trunk/; revision=21903 --- mail/folder-browser-ui.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'mail/folder-browser-ui.c') diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index a63cce43d1..9ccdb2db79 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -461,19 +461,6 @@ folder_browser_ui_message_list_unfocus (FolderBrowser *fb) "sensitive", "0", NULL);*/ } -static const char * -basename (const char *path) -{ - const char *base; - - if (!(base = strrchr (path, '/'))) - base = path; - else - base++; - - return base; -} - static void folder_browser_setup_property_menu (FolderBrowser *fb, BonoboUIComponent *uic) { -- cgit v1.2.3