Fix 344838

This commit is contained in:
Matthias Clasen 2006-06-14 13:32:49 +00:00
parent 3f0fb50471
commit 400101a108
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2006-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
Allow NULL to reset to default. (#344838, John Finlay)
* gtk/gtkprintjob.h: Collect booleans into a bitfield
(#344765, Christian Persch)

View File

@ -1,5 +1,8 @@
2006-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
Allow NULL to reset to default. (#344838, John Finlay)
* gtk/gtkprintjob.h: Collect booleans into a bitfield
(#344765, Christian Persch)

View File

@ -13505,7 +13505,8 @@ gtk_tree_view_set_search_entry (GtkTreeView *tree_view,
/**
* gtk_tree_view_set_search_position_func:
* @tree_view: A #GtkTreeView
* @func: the function to use to position the search dialog
* @func: the function to use to position the search dialog, or %NULL
* to use the default search position function
* @data: user data to pass to @func, or %NULL
* @destroy: Destroy notifier for @data, or %NULL
*
@ -13520,7 +13521,6 @@ gtk_tree_view_set_search_position_func (GtkTreeView *tree_view
GDestroyNotify destroy)
{
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
g_return_if_fail (func !=NULL);
if (tree_view->priv->search_position_destroy)
(* tree_view->priv->search_position_destroy) (tree_view->priv->search_position_user_data);