aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-23 23:00:30 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-23 23:00:30 +0800
commita84a29636d3a53b24322533291f9006f19c9d606 (patch)
tree895c4347d16fea5d0b3b5fd36929019d29581ee7 /src
parent34fad16eb18d7b88c43aaf34912682446172b7bd (diff)
downloadgsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar.gz
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar.bz2
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar.lz
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar.xz
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.tar.zst
gsoc2013-empathy-a84a29636d3a53b24322533291f9006f19c9d606.zip
Fix warning in status icon
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1122 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'src')
-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;