aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 4849e77..c2b32e9 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -813,7 +813,8 @@ static void
indicator_messages_middle_click (IndicatorObject * io, IndicatorObjectEntry * entry,
guint time, gpointer data)
{
- g_return_if_fail(attention);
+ if (!attention)
+ return;
clear_attention();
}