empathy r1342 - trunk/src



Author: xclaesse
Date: Mon Aug 18 21:36:45 2008
New Revision: 1342
URL: http://svn.gnome.org/viewvc/empathy?rev=1342&view=rev

Log:
Do not crash if there is no salut profile installed


Modified:
   trunk/src/empathy.c

Modified: trunk/src/empathy.c
==============================================================================
--- trunk/src/empathy.c	(original)
+++ trunk/src/empathy.c	Mon Aug 18 21:36:45 2008
@@ -210,6 +210,10 @@
 
 	/* 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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]