aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-08-19 05:36:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-08-19 05:36:45 +0800
commit910ba461ca87a40407603b31b37e361520626cfc (patch)
tree74a625f9af37bb6cc4a370270d7b56e0c7cca4bb /src/empathy.c
parent6ebbef8281d6a6d2a5f7bc9885ebd1bb95849e78 (diff)
downloadgsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar.gz
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar.bz2
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar.lz
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar.xz
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.tar.zst
gsoc2013-empathy-910ba461ca87a40407603b31b37e361520626cfc.zip
Do not crash if there is no salut profile installed
svn path=/trunk/; revision=1342
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c
index a14873f32..15781d929 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -210,6 +210,10 @@ create_salut_account (void)
/* Check if the salut CM is installed */
profile = mc_profile_lookup ("salut");
+ if (!profile) {
+ DEBUG ("No salut profile");
+ return;
+ }
protocol = mc_profile_get_protocol (profile);
if (!protocol) {
DEBUG ("Salut not installed");