]> Pileus Git - ~andy/gtk/commit
Optimization - when we've already found a widget, skip all checks for
authorOwen Taylor <otaylor@redhat.com>
Tue, 22 Dec 1998 20:06:44 +0000 (20:06 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 22 Dec 1998 20:06:44 +0000 (20:06 +0000)
commit7f0156c2eacc68490e7b32c4ee6f0a987542ad0d
tree5c263c2c80f9b2b2b38f182085f63ca371ec3eef
parentb45236cee87a9d98e54a66658aadd49644d5a250
Optimization - when we've already found a widget, skip all checks for

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().
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkdnd.c