aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-07-14 11:15:13 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-07-14 11:15:13 +0800
commitbfa2e64242c672435866d4226c944770f3d10446 (patch)
tree268bfad6f3ef08337a4c5979fe72ddb9bea99f3c /composer/e-msg-composer-hdrs.c
parent7fab3bea3b23e0a1b52d93ac518330063aac05a8 (diff)
downloadgsoc2013-evolution-bfa2e64242c672435866d4226c944770f3d10446.tar.gz
gsoc2013-evolution-bfa2e64242c672435866d4226c944770f3d10446.tar.zst
gsoc2013-evolution-bfa2e64242c672435866d4226c944770f3d10446.zip
add casts in previous patch to fix warnings. (account_can_send): fix the
2005-07-14 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (address_button_clicked_cb): add casts in previous patch to fix warnings. (account_can_send): fix the permission mode name. svn path=/trunk/; revision=29766
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 25619aa25f..cfadd425f9 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -190,11 +190,11 @@ address_button_clicked_cb (GtkButton *button, gpointer data)
hdrs = emchas->hdrs;
priv = hdrs->priv;
- if(button == hdrs->priv->to.label)
+ if(button == (GtkButton *)hdrs->priv->to.label)
gtk_widget_grab_focus(hdrs->priv->to.entry);
- else if(button == priv->cc.label)
+ else if(button == (GtkButton *)priv->cc.label)
gtk_widget_grab_focus(hdrs->priv->cc.entry);
- else if(button == priv->bcc.label)
+ else if(button == (GtkButton *)priv->bcc.label)
gtk_widget_grab_focus(hdrs->priv->bcc.entry);
name_selector_dialog = e_name_selector_peek_dialog (priv->name_selector);
@@ -342,7 +342,7 @@ account_can_send (EAccount *account)
return FALSE;
}
- if (store->permissions & CAMEL_PROXY_STORE_WRITE)
+ if (store->mode & CAMEL_STORE_WRITE)
return TRUE;
return FALSE;