diff options
-rw-r--r-- | libempathy-gtk/empathy-individual-widget.c | 3 |
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; |