diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-19 20:47:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-19 20:47:58 +0800 |
commit | 9fe1f9a78701386cb11632a5963377a74ff283dc (patch) | |
tree | 8fd622f9f72f359c36086101234ed8d52132df07 | |
parent | 1a68a64be544af2b35f981bac45fc6355def22d9 (diff) | |
download | gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar.gz gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar.bz2 gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar.lz gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar.xz gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.tar.zst gsoc2013-empathy-9fe1f9a78701386cb11632a5963377a74ff283dc.zip |
Fix coding style
svn path=/trunk/; revision=1183
-rw-r--r-- | libempathy/empathy-contact.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 1c4f4d83a..aee3fac5c 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -746,12 +746,12 @@ contact_is_ready_func (GObject *contact, ready = GPOINTER_TO_UINT (user_data); - /* When the name is NULL, empathy_contact_get_name() fallback to the id. - * When the caller want to wait the name to be ready, it also want to wait - * the id to be ready in case of fallback. */ - if ((ready & EMPATHY_CONTACT_READY_NAME) && G_STR_EMPTY (priv->name)) { - ready |= EMPATHY_CONTACT_READY_ID; - } + /* When the name is NULL, empathy_contact_get_name() fallback to the id. + * When the caller want to wait the name to be ready, it also want to wait + * the id to be ready in case of fallback. */ + if ((ready & EMPATHY_CONTACT_READY_NAME) && G_STR_EMPTY (priv->name)) { + ready |= EMPATHY_CONTACT_READY_ID; + } return (priv->ready & ready) == ready; } |