Missing parameter in GtkTreeView function



Hi,

I was wondering why the new GtkTreeViewSearchEqualFunc in gtktreeview.h doesn't have a user_data field.

typedef gboolean (*GtkTreeViewSearchEqualFunc) (GtkTreeModel  *model,
gint column, gchar *key, GtkTreeIter *iter);

There is a search_user_data member in GtkTreeViewPrivate that gets set from 'gtk_tree_view_set_search_equal_func'

void  gtk_tree_view_set_search_equal_func (GtkTreeView *tree_view,
                           GtkTreeViewSearchEqualFunc  search_compare_func,
gpointer search_data, GtkDestroyNotify search_destroy);

Is this an oversight? The other function signatures declared in gtktreeview.h all have user data fields.

Jeff.








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]