diff options
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r-- | libempathy/empathy-account-settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 40df9a802..78b14456e 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -1245,6 +1245,9 @@ empathy_account_settings_has_account (EmpathyAccountSettings *settings, priv = GET_PRIV (settings); + if (priv->account == NULL) + return FALSE; + account_path = tp_proxy_get_object_path (TP_PROXY (account)); priv_account_path = tp_proxy_get_object_path (TP_PROXY (priv->account)); |