Commit 57e8c48a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Allow to restore the default search function. (#145365, John Finlay)

	* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
	to restore the default search function.  (#145365, John Finlay)
parent 9ab68256
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
to restore the default search function. (#145365, John Finlay)
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
to restore the default search function. (#145365, John Finlay)
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
to restore the default search function. (#145365, John Finlay)
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
to restore the default search function. (#145365, John Finlay)
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
......
......@@ -11816,7 +11816,8 @@ gtk_tree_view_get_search_equal_func (GtkTreeView *tree_view)
/**
* gtk_tree_view_set_search_equal_func:
* @tree_view: A #GtkTreeView
* @search_equal_func: the compare function to use during the search
* @search_equal_func: the compare function to use during the search, or %NULL
* to restore the default function
* @search_user_data: user data to pass to @search_equal_func, or %NULL
* @search_destroy: Destroy notifier for @search_user_data, or %NULL
*
......@@ -11831,7 +11832,6 @@ gtk_tree_view_set_search_equal_func (GtkTreeView *tree_view,
GtkDestroyNotify search_destroy)
{
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
g_return_if_fail (search_equal_func !=NULL);
if (tree_view->priv->search_destroy)
(* tree_view->priv->search_destroy) (tree_view->priv->search_user_data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment