aboutsummaryrefslogtreecommitdiffstats
path: root/composer
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
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')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-hdrs.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 57d5f9c6a1..47e0c6caea 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2005-07-13 S.Antony Vincent Pandian <santony@gmail.com>
** See bug #309869
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;