aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-store.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-08 23:43:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-08 23:43:27 +0800
commitc84cf8d5e36241d2ccb48589496f4d54752a5c54 (patch)
tree042f12e52307682a01066bc9a7dd5c48c8367486 /libempathy-gtk/empathy-contact-list-store.c
parentbd607fd9224d6c27510d8de8f68f7e70e686708c (diff)
downloadgsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.gz
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.bz2
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.lz
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.xz
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.zst
gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.zip
Make use of the search function to correctly find when typing in the
2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: Make use of the search function to correctly find when typing in the contact list view. Fixes bug #472309 (Will Thompson, Xavier Claessens). svn path=/trunk/; revision=290
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-store.c')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 9cf03bfe8..5301bdc76 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -571,10 +571,10 @@ empathy_contact_list_store_get_parent_group (GtkTreeModel *model,
gboolean
empathy_contact_list_store_search_equal_func (GtkTreeModel *model,
- gint column,
- const gchar *key,
- GtkTreeIter *iter,
- gpointer search_data)
+ gint column,
+ const gchar *key,
+ GtkTreeIter *iter,
+ gpointer search_data)
{
gchar *name, *name_folded;
gchar *key_folded;
@@ -583,13 +583,13 @@ empathy_contact_list_store_search_equal_func (GtkTreeModel *model,
g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE);
if (!key) {
- return FALSE;
+ return TRUE;
}
gtk_tree_model_get (model, iter, COL_NAME, &name, -1);
if (!name) {
- return FALSE;
+ return TRUE;
}
name_folded = g_utf8_casefold (name, -1);