aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-29 04:19:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-29 04:19:41 +0800
commit550e7d56134477b113cd5af220a0c8851fad5097 (patch)
treeb3fc3c52b91459bba64cb47300bc4777f7c3d98c /mail/mail-send-recv.c
parent7ff106049038bfd8dbded3210b179eb985b0601d (diff)
downloadgsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar.gz
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar.bz2
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar.lz
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar.xz
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.tar.zst
gsoc2013-evolution-550e7d56134477b113cd5af220a0c8851fad5097.zip
The e_iterator_get() returns a gconstpointer and we need a non-const
2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (free_send_data): The e_iterator_get() returns a gconstpointer and we need a non-const BonoboControl so cast it. * mail-account-gui.c (mail_account_gui_new): gui->check_html_signature is GtkToggleButton not a GtkCheckButton. * folder-info.c: Added some #include's to supress warnings. svn path=/trunk/; revision=10574
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index ac1d58ab19..03411b5433 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -188,9 +188,11 @@ free_send_data(void)
list = folder_browser_factory_get_control_list ();
for (it = e_list_get_iterator (list); e_iterator_is_valid (it); e_iterator_next (it)) {
- BonoboControl *control = e_iterator_get (it);
+ BonoboControl *control = (BonoboControl *) e_iterator_get (it);
if (control) {
- FolderBrowser *fb = bonobo_control_get_widget (control);
+ FolderBrowser *fb;
+
+ fb = FOLDER_BROWSER (bonobo_control_get_widget (control));
if (fb && fb->folder)
mail_sync_folder (fb->folder, NULL, NULL);
}