diff options
author | Dan Winship <danw@src.gnome.org> | 2003-07-23 23:01:26 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-07-23 23:01:26 +0800 |
commit | a35603766331792d7a6af2d55a18aa92783c8a6d (patch) | |
tree | 299e1378ec9c9d318836de51c5d4958b68df554f /mail/folder-browser.c | |
parent | f5ed342cd3980242c3d3403dd49b6056e658b664 (diff) | |
download | gsoc2013-evolution-a35603766331792d7a6af2d55a18aa92783c8a6d.tar.gz gsoc2013-evolution-a35603766331792d7a6af2d55a18aa92783c8a6d.tar.zst gsoc2013-evolution-a35603766331792d7a6af2d55a18aa92783c8a6d.zip |
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
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 8a15cc4135..a886cfe77d 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -319,7 +319,7 @@ message_list_drag_data_get (ETree *tree, int row, ETreePath path, int col, CamelMimeMessage *message; CamelMimeFilter *filter; CamelStream *fstream; - CamelStream *stream; + CamelStreamFilter *stream; char *uri_list; int fd; @@ -365,20 +365,20 @@ message_list_drag_data_get (ETree *tree, int row, ETreePath path, int col, stream = camel_stream_filter_new_with_stream (fstream); filter = camel_mime_filter_from_new (); - camel_stream_filter_add (CAMEL_STREAM_FILTER (stream), filter); + camel_stream_filter_add (stream, filter); camel_object_unref (filter); camel_stream_write (fstream, "From - \n", 8); - camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), stream); + camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), CAMEL_STREAM (stream)); camel_object_unref (message); - camel_stream_flush (stream); + camel_stream_flush (CAMEL_STREAM (stream)); for (i = 1; i < uids->len; i++) { message = camel_folder_get_message (fb->folder, uids->pdata[i], NULL); camel_stream_write (fstream, "From - \n", 8); - camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), stream); + camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), CAMEL_STREAM (stream)); camel_object_unref (message); - camel_stream_flush (stream); + camel_stream_flush (CAMEL_STREAM (stream)); g_free (uids->pdata[i]); } @@ -1389,7 +1389,6 @@ folder_browser_toggle_caret_mode(BonoboUIComponent *component, const char * state, gpointer user_data) { - FolderBrowser *fb = user_data; GConfClient *gconf; if (type != Bonobo_UIComponent_STATE_CHANGED) |