aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-23 23:00:30 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-23 23:00:30 +0800
commit914908699dce39e6f3e570a75c9a314b4f0c498d (patch)
tree895c4347d16fea5d0b3b5fd36929019d29581ee7
parent9010fb79f7a8f65ebd8df20f52bc59de68668477 (diff)
downloadgsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar.gz
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar.bz2
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar.lz
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar.xz
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.tar.zst
gsoc2013-empathy-914908699dce39e6f3e570a75c9a314b4f0c498d.zip
Fix warning in status icon
svn path=/trunk/; revision=1122
-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;