diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-05-20 04:19:42 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-20 04:19:42 +0800 |
commit | 1ff555e581a89646fa252706d41ae822d1e023e4 (patch) | |
tree | d0ebda452d5b20b35de7b15fba8d686b0f8e2308 /libempathy/empathy-tp-contact-list.c | |
parent | 6289d5e8af55efe139fa3981e11684b8a0784549 (diff) | |
download | gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar.gz gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar.bz2 gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar.lz gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar.xz gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.tar.zst gsoc2013-empathy-1ff555e581a89646fa252706d41ae822d1e023e4.zip |
Fix indentation Fix not returning the contact in tp_contact_list_find()
2007-05-19 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/Makefile.am:
* libempathy/empathy-tp-chat.c:
* libempathy/empathy-contact-manager.c:
* libempathy/empathy-contact-list.c: Fix indentation
* libempathy/empathy-tp-contact-list.c: Fix not returning the contact
in tp_contact_list_find()
* TODO: Updated.
svn path=/trunk/; revision=75
Diffstat (limited to 'libempathy/empathy-tp-contact-list.c')
-rw-r--r-- | libempathy/empathy-tp-contact-list.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 43c317e00..60a7fd535 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -447,17 +447,14 @@ tp_contact_list_find (EmpathyContactList *list, const gchar *id) { EmpathyTpContactListPriv *priv; - GossipContact *contact; g_return_val_if_fail (EMPATHY_IS_TP_CONTACT_LIST (list), NULL); priv = GET_PRIV (list); - contact = g_hash_table_find (priv->contacts, - (GHRFunc) tp_contact_list_find_foreach, - (gchar*) id); - - return NULL; + return g_hash_table_find (priv->contacts, + (GHRFunc) tp_contact_list_find_foreach, + (gchar*) id); } static void |