diff src/gtkblist.c @ 10435:341d4932f89e

[gaim-migrate @ 11692] Better CTRL+F searching for the saved statuses window Use gtk2.6's ellipsizing for status messages Escape & in status titles when deleting statuses committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 27 Dec 2004 19:35:21 +0000
parents f7f06cb69d5e
children 911530134bf8
line wrap: on
line diff
--- a/src/gtkblist.c	Mon Dec 27 18:53:59 2004 +0000
+++ b/src/gtkblist.c	Mon Dec 27 19:35:21 2004 +0000
@@ -3184,13 +3184,13 @@
 static gboolean
 _search_func(GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data)
 {
+	gboolean result;
 	gchar *enteredstring;
 	const gchar *withmarkup;
 	gchar *nomarkup;
 	const gchar *normalized;
-	gboolean result;
-
-	gtk_tree_model_get(model, iter, NAME_COLUMN, &withmarkup, -1);
+
+	gtk_tree_model_get(model, iter, column, &withmarkup, -1);
 
 	enteredstring = g_strdup(gaim_normalize(NULL, key));
 	nomarkup = gaim_markup_strip_html(withmarkup);