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:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						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)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user