aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-05-31 05:48:46 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-05-31 05:48:46 +0800
commita38c0151eeb417d4d4068d018450757d34aa327f (patch)
treebbab6df608bae2c35156bc243547149d08636eeb /src
parent53013e8534c6e8340a7aefde55eb10164c8a3d61 (diff)
downloadgsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar.gz
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar.bz2
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar.lz
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar.xz
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.tar.zst
gsoc2013-empathy-a38c0151eeb417d4d4068d018450757d34aa327f.zip
Cope with status icon begin NULL
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 cca2557a8..9c2194880 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -201,7 +201,8 @@ status_icon_update_icon (EmpathyStatusIcon *icon)
icon_name = empathy_icon_name_for_presence (state);
}
- gtk_status_icon_set_from_icon_name (priv->icon, icon_name);
+ if (icon_name != NULL)
+ gtk_status_icon_set_from_icon_name (priv->icon, icon_name);
}
static gboolean