diff options
Diffstat (limited to 'libempathy-gtk/empathy-location-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-location-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c index 987574b45..9da3964ec 100644 --- a/libempathy-gtk/empathy-location-manager.c +++ b/libempathy-gtk/empathy-location-manager.c @@ -122,6 +122,9 @@ publish_location (EmpathyLocationManager *location_manager, priv = GET_PRIV (location_manager); conn = mission_control_get_tpconnection (priv->mc, account, NULL); + if (!conn) + return; + factory = empathy_tp_contact_factory_dup_singleton (conn); if (force_publication == FALSE) |