diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-03-30 13:02:41 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-08 18:41:30 +0800 |
commit | 9a3d387881cfba1efee65c7fc3d9e4e53971d517 (patch) | |
tree | 7df1f8ca57732144af1da55f6b9a325607c1acb5 /libempathy-gtk | |
parent | 2b0ecd366f708a0595c1dce200ed9696f9cd72d9 (diff) | |
download | gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar.gz gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar.bz2 gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar.lz gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar.xz gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.tar.zst gsoc2013-empathy-9a3d387881cfba1efee65c7fc3d9e4e53971d517.zip |
Don't assume account != NULL
One day I'll stop making this mistake in the account dialog.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-skype.c | 2 |
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"); |