diff options
author | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-08-19 03:43:18 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-08-19 04:21:43 +0800 |
commit | b9d913aced1b76300ce6b18b53878b4f40cf2264 (patch) | |
tree | f695a6d975cf1f9a2a967a17cb736b4f16554a93 | |
parent | 8b9afe55dba0cb3dc7c20d714574e8c85f9fdb11 (diff) | |
download | gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar.gz gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar.bz2 gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar.lz gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar.xz gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.tar.zst gsoc2013-empathy-b9d913aced1b76300ce6b18b53878b4f40cf2264.zip |
Don't create a marker for contacts with empty location
-rw-r--r-- | src/empathy-map-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 (); |