Commit d53bffc0 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't crash if search_window is NULL. (#304914, Victor Osadci, testcase by

2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	Don't crash if search_window is NULL.  (#304914, Victor Osadci,
	testcase by Olaf Vitters)
parent e4130077
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Don't crash if search_window is NULL. (#304914, Victor Osadci,
testcase by Olaf Vitters)
* gtk/gtkimage.c: Make the file property readable.
(#170674, Lorenzo Gil Sanchez)
......
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Don't crash if search_window is NULL. (#304914, Victor Osadci,
testcase by Olaf Vitters)
* gtk/gtkimage.c: Make the file property readable.
(#170674, Lorenzo Gil Sanchez)
......
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Don't crash if search_window is NULL. (#304914, Victor Osadci,
testcase by Olaf Vitters)
* gtk/gtkimage.c: Make the file property readable.
(#170674, Lorenzo Gil Sanchez)
......
......@@ -9011,7 +9011,8 @@ gtk_tree_view_real_start_interactive_search (GtkTreeView *tree_view,
if (!tree_view->priv->enable_search && !keybinding)
return FALSE;
if (GTK_WIDGET_VISIBLE (tree_view->priv->search_window))
if (tree_view->priv->search_window != NULL &&
GTK_WIDGET_VISIBLE (tree_view->priv->search_window))
return TRUE;
for (list = tree_view->priv->columns; list; list = list->next)
......
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