aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-account-widget-skype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget-skype.c b/libempathy-gtk/empathy-account-widget-skype.c
index ac051897e..82b2b0c57 100644
--- a/libempathy-gtk/empathy-account-widget-skype.c
+++ b/libempathy-gtk/empathy-account-widget-skype.c
@@ -478,7 +478,7 @@ account_widget_build_skype_password_entry_focus (GtkWidget *password_entry,
GUINT_TO_POINTER (FALSE));
}
- if (tp_account_is_enabled (account))
+ if (account != NULL && tp_account_is_enabled (account))
{
DEBUG ("Highlighting Apply/Cancel button");