aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-attachment-bar.c')
-rw-r--r--widgets/misc/e-attachment-bar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c
index d7c90df330..ed9fb02105 100644
--- a/widgets/misc/e-attachment-bar.c
+++ b/widgets/misc/e-attachment-bar.c
@@ -759,6 +759,9 @@ e_attachment_bar_set_expanded (EAttachmentBar *bar,
{
g_return_if_fail (E_IS_ATTACHMENT_BAR (bar));
+ if ((bar->priv->expanded ? 1 : 0) == (expanded ? 1 : 0))
+ return;
+
bar->priv->expanded = expanded;
g_object_notify (G_OBJECT (bar), "expanded");