mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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)
This commit is contained in:
parent
e413007784
commit
d53bffc04d
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user