aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-03-10 14:51:30 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-03-15 02:46:45 +0800
commitcdf5c32d399e507d603a9f91c326dab7dcc86a5e (patch)
tree3b90ac6f70f98216159bafea2e75a3d5038b5dbb
parent49e91cc1315d6cb762650810cacfa3bb56f5ff3c (diff)
downloadgsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar.gz
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar.bz2
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar.lz
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar.xz
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.tar.zst
gsoc2013-empathy-cdf5c32d399e507d603a9f91c326dab7dcc86a5e.zip
Don't assume account != NULL (again)
-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 70cbc8dfc..f20726b61 100644
--- a/libempathy-gtk/empathy-account-widget-skype.c
+++ b/libempathy-gtk/empathy-account-widget-skype.c
@@ -764,7 +764,7 @@ empathy_account_widget_build_skype (EmpathyAccountWidget *self,
auth_observer_new (password_entry), g_object_unref);
/* find out if we know the password */
- if (tp_proxy_has_interface_by_id (account,
+ if (account != NULL && tp_proxy_has_interface_by_id (account,
EMP_IFACE_QUARK_ACCOUNT_INTERFACE_EXTERNAL_PASSWORD_STORAGE))
{
tp_cli_dbus_properties_call_get (account, -1,