aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-status-icon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 50dfa1be0..2ab49a63b 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -184,7 +184,8 @@ status_icon_event_remove_by_channel (EmpathyStatusIcon *icon,
for (l = priv->events; l; l = l->next) {
StatusIconEvent *event = l->data;
- if (empathy_proxy_equal (event->channel, channel)) {
+ if (event->channel &&
+ empathy_proxy_equal (event->channel, channel)) {
DEBUG ("Found event '%s'", event->message);
status_icon_event_remove (icon, event);
break;