aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-online-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-online-button.c')
-rw-r--r--widgets/misc/e-online-button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-online-button.c b/widgets/misc/e-online-button.c
index 41b81f4b94..a3921a779f 100644
--- a/widgets/misc/e-online-button.c
+++ b/widgets/misc/e-online-button.c
@@ -190,7 +190,7 @@ e_online_button_set_online (EOnlineButton *button,
g_return_if_fail (E_IS_ONLINE_BUTTON (button));
- if ((button->priv->online ? 1 : 0) == (online ? 1 : 0))
+ if (button->priv->online == online)
return;
button->priv->online = online;