From b9d913aced1b76300ce6b18b53878b4f40cf2264 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Tue, 18 Aug 2009 15:43:18 -0400 Subject: Don't create a marker for contacts with empty location --- src/empathy-map-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c index 58d8334fc..44d3eddbe 100644 --- a/src/empathy-map-view.c +++ b/src/empathy-map-view.c @@ -181,7 +181,7 @@ map_view_contacts_foreach (GtkTreeModel *model, location = empathy_contact_get_location (contact); - if (location == NULL) + if (location == NULL || g_hash_table_size (location) == 0) return FALSE; marker = champlain_marker_new (); -- cgit v1.2.3