diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-07 06:10:54 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-07 06:10:54 +0800 |
commit | c395e06eb884c44a549af3f173e0f5f47b3516c8 (patch) | |
tree | e1fd505a4bab2e4a4df4a39736cbcc0026eadd38 /libempathy-gtk | |
parent | c4dcb5323ea96257ea0ce790c0dc04171540103b (diff) | |
download | gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar.gz gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar.bz2 gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar.lz gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar.xz gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.tar.zst gsoc2013-empathy-c395e06eb884c44a549af3f173e0f5f47b3516c8.zip |
2007-07-07 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-account-widget-generic.c: Workaround to fix a
commonly reported crash.
* libempathy/empathy-tp-group.c: Add a missing check.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@177 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-generic.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget-generic.c b/libempathy-gtk/empathy-account-widget-generic.c index 73b579a55..1ba38f7fb 100644 --- a/libempathy-gtk/empathy-account-widget-generic.c +++ b/libempathy-gtk/empathy-account-widget-generic.c @@ -251,6 +251,17 @@ accounts_widget_generic_setup (EmpathyAccountWidgetGeneric *settings) profile = mc_account_get_profile (settings->account); protocol = mc_profile_get_protocol (profile); + + if (!protocol) { + /* The CM is not installed, MC shouldn't list them + * see SF bug #1688779 + * FIXME: We should display something asking the user to + * install the CM + */ + g_object_unref (profile); + return; + } + params = mc_protocol_get_params (protocol); g_slist_foreach (params, |