mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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)
This commit is contained in:
parent
9ab68256d1
commit
57e8c48a0c
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user