• Owen Taylor's avatar
    Optimization - when we've already found a widget, skip all checks for · 7f0156c2
    Owen Taylor authored
    Tue Dec 22 14:50:25 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
    	when we've already found a widget, skip all checks
    	for subsequent children.
    
    	* gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
    	!MAPPED, not !VISIBLE, since a widget (like a notebook
    	page), can be VISIBLE, but !REALIZED or !MAPPED.
    
    	* gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
    	not foreach().
    7f0156c2
gtkdnd.c 65.6 KB