empathy r1178 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1178 - trunk/libempathy
- Date: Thu, 19 Jun 2008 12:47:52 +0000 (UTC)
Author: xclaesse
Date: Thu Jun 19 12:47:52 2008
New Revision: 1178
URL: http://svn.gnome.org/viewvc/empathy?rev=1178&view=rev
Log:
don't set the flag to ready if we are not yet ready, especially when we send a glib signal meanwhile, letting the opportunity to enter in the mainloop
Modified:
trunk/libempathy/empathy-contact.c
Modified: trunk/libempathy/empathy-contact.c
==============================================================================
--- trunk/libempathy/empathy-contact.c (original)
+++ trunk/libempathy/empathy-contact.c Thu Jun 19 12:47:52 2008
@@ -370,7 +370,6 @@
/* We temporally ref the contact because it could be destroyed
* during the signal emition */
g_object_ref (contact);
- contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_ID);
if (tp_strdiff (id, priv->id)) {
g_free (priv->id);
priv->id = g_strdup (id);
@@ -380,6 +379,7 @@
g_object_notify (G_OBJECT (contact), "name");
}
}
+ contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_ID);
g_object_unref (contact);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]