]> Pileus Git - ~andy/gtk/commit
Various reentrancy fixes for widgets being destroyed out of
authorOwen Taylor <otaylor@redhat.com>
Fri, 13 Feb 2004 03:03:21 +0000 (03:03 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 13 Feb 2004 03:03:21 +0000 (03:03 +0000)
commit3588aeb4af12621b16faeac0ccb3001ebe48f0e9
treebbc61d29237642b0a6b459e3404828170f7f21b1
parente4d55e75e037452cc4ef7bfcdbae182d7f6a004d
Various reentrancy fixes for widgets being destroyed out of

Thu Feb 12 21:58:20 2004  Owen Taylor  <otaylor@redhat.com>

        Various reentrancy fixes for widgets being destroyed
        out of focus-out-event. (#128821, Grant Gayed)

        * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default):
        Ref window and widget over callbacks.

        * gtk/gtkwidget.c (gtk_widget_hide)
          gtk/gtkwidget.c (gtk_widget_set_child_visible):
        Ref the widget before calling _gtk_window_unset_focus_and_default(),
        since that can call user callbacks.

        * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
        Do nothing if the widget isn't realized.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkwidget.c
gtk/gtkwindow.c