aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-map-view.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-19 03:43:18 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-19 04:21:43 +0800
commitb9d913aced1b76300ce6b18b53878b4f40cf2264 (patch)
treef695a6d975cf1f9a2a967a17cb736b4f16554a93 /src/empathy-map-view.c
parent8b9afe55dba0cb3dc7c20d714574e8c85f9fdb11 (diff)
downloadgsoc2013-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
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r--src/empathy-map-view.c2
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 ();