diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-05-31 05:48:46 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-05-31 05:48:46 +0800 |
commit | a38c0151eeb417d4d4068d018450757d34aa327f (patch) | |
tree | bbab6df608bae2c35156bc243547149d08636eeb | |
parent | 53013e8534c6e8340a7aefde55eb10164c8a3d61 (diff) | |
download | gsoc2013-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
-rw-r--r-- | src/empathy-status-icon.c | 3 |
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 |