[gthumb] Use default search implementation in tag tree view, bug 575017
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Use default search implementation in tag tree view, bug 575017
- Date: Fri, 29 May 2009 08:41:52 -0400 (EDT)
commit 001630b189b80c3216661f715f91c885b55d2dd9
Author: Marc Pavot <marc pavot gmail com>
Date: Fri May 29 08:39:03 2009 -0400
Use default search implementation in tag tree view, bug 575017
---
src/dlg-tags.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/src/dlg-tags.c b/src/dlg-tags.c
index f485897..364f2f9 100644
--- a/src/dlg-tags.c
+++ b/src/dlg-tags.c
@@ -453,19 +453,6 @@ name_column_sort_func (GtkTreeModel *model,
}
-static gboolean
-keyword_equal_func (GtkTreeModel *model,
- gint column,
- const gchar *key,
- GtkTreeIter *iter,
- gpointer search_data)
-{
- char *cell;
- gtk_tree_model_get (model, iter, column, &cell, -1);
- return case_insens_utf8_cmp (key, cell) > 0;
-}
-
-
static GtkWidget*
dlg_tags_common (GtkWindow *parent,
GthWindow *window,
@@ -540,10 +527,6 @@ dlg_tags_common (GtkWindow *parent,
gtk_tree_view_set_search_column (GTK_TREE_VIEW (data->keywords_list_view),
TAG_COLUMN);
- gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (data->keywords_list_view),
- keyword_equal_func,
- NULL,
- NULL);
column = gtk_tree_view_column_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]