aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-02 23:42:58 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-03 19:03:38 +0800
commit569e01b98e70c3a51eeb8f8eb8dc3871f871c62d (patch)
tree623ead4ad7da59d0784331b992e241d03756ad6f /libempathy-gtk/empathy-individual-widget.c
parent3cc4fc238021bfdb6f8448a160988ff223662dc3 (diff)
downloadgsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar.gz
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar.bz2
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar.lz
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar.xz
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.tar.zst
gsoc2013-empathy-569e01b98e70c3a51eeb8f8eb8dc3871f871c62d.zip
Don't try to update EmpathyIndividualWidget's location without an Individual
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.c')
-rw-r--r--libempathy-gtk/empathy-individual-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index b68830676..08a18d5ff 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -530,7 +530,8 @@ location_update (EmpathyIndividualWidget *self)
gboolean display_map = FALSE;
GList *personas, *l;
- if (!(priv->flags & EMPATHY_INDIVIDUAL_WIDGET_SHOW_LOCATION))
+ if (!(priv->flags & EMPATHY_INDIVIDUAL_WIDGET_SHOW_LOCATION) ||
+ priv->individual == NULL)
{
gtk_widget_hide (priv->vbox_location);
return;