diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-19 20:47:55 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-19 20:47:55 +0800 |
commit | f936a00643151850a792d086d2c7f59e6fcab123 (patch) | |
tree | f5b8351160519c78b0afaa1d9a241e7b36503b3a /libempathy/empathy-contact.c | |
parent | 9f95363af33241508cdaee757b6f08846a575368 (diff) | |
download | gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar.gz gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar.bz2 gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar.lz gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar.xz gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.tar.zst gsoc2013-empathy-f936a00643151850a792d086d2c7f59e6fcab123.zip |
Move contact_set_ready_flag() in _set_name() and _set_handle().
svn path=/trunk/; revision=1180
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index bfa9966da..f84dff4a1 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -411,12 +411,12 @@ empathy_contact_set_name (EmpathyContact *contact, priv = GET_PRIV (contact); g_object_ref (contact); - contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_NAME); if (tp_strdiff (name, priv->name)) { g_free (priv->name); priv->name = g_strdup (name); g_object_notify (G_OBJECT (contact), "name"); } + contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_NAME); g_object_unref (contact); } @@ -577,11 +577,11 @@ empathy_contact_set_handle (EmpathyContact *contact, priv = GET_PRIV (contact); g_object_ref (contact); - contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_HANDLE); if (handle != priv->handle) { priv->handle = handle; g_object_notify (G_OBJECT (contact), "handle"); } + contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_HANDLE); g_object_unref (contact); } |