aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-tab-picker.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-tab-picker.c')
-rw-r--r--mail/e-mail-tab-picker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-tab-picker.c b/mail/e-mail-tab-picker.c
index d2267dc142..c5751ca90f 100644
--- a/mail/e-mail-tab-picker.c
+++ b/mail/e-mail-tab-picker.c
@@ -1252,7 +1252,7 @@ e_mail_tab_picker_set_preview_mode (EMailTabPicker *picker,
EMailTabPickerPrivate *priv = picker->priv;
- if (priv->preview_mode == preview)
+ if ((priv->preview_mode ? 1 : 0) == (preview ? 1 : 0))
return;
priv->preview_mode = preview;
@@ -1333,7 +1333,7 @@ e_mail_tab_picker_enable_drop (EMailTabPicker *picker,
{
EMailTabPickerPrivate *priv = picker->priv;
- if (priv->drop_enabled == enable)
+ if ((priv->drop_enabled ? 1 : 0) == (enable ? 1 : 0))
return;
priv->drop_enabled = enable;