empathy r620 - trunk/libempathy



Author: xclaesse
Date: Sun Feb 10 12:52:59 2008
New Revision: 620
URL: http://svn.gnome.org/viewvc/empathy?rev=620&view=rev

Log:
EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message set the presence message to NULL


Modified:
   trunk/libempathy/empathy-tp-contact-factory.c

Modified: trunk/libempathy/empathy-tp-contact-factory.c
==============================================================================
--- trunk/libempathy/empathy-tp-contact-factory.c	(original)
+++ trunk/libempathy/empathy-tp-contact-factory.c	Sun Feb 10 12:52:59 2008
@@ -122,6 +122,8 @@
 	if (message != NULL) {
 		empathy_contact_set_presence_message (contact,
 						      g_value_get_string (message));
+	} else {
+		empathy_contact_set_presence_message (contact, NULL);
 	}
 }
 



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