Set page->last_focus_child to NULL as well as removing the weak reference,
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_real_remove): Set page->last_focus_child to NULL as well as removing the weak reference, to deal with reentrancy in set_focus_child(). (#76634)
This commit is contained in:
parent
63c5610d89
commit
c5e6a170de
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -1,3 +1,10 @@
|
||||
Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_real_remove): Set
|
||||
page->last_focus_child to NULL as well as removing the
|
||||
weak reference, to deal with reentrancy in set_focus_child().
|
||||
(#76634)
|
||||
|
||||
2002-03-27 Murray Cumming <murrayc@usa.net>
|
||||
|
||||
* gtk/gtktreeview.c: Corrected registered return type of
|
||||
|
@ -2389,7 +2389,10 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
|
||||
page = list->data;
|
||||
|
||||
if (page->last_focus_child)
|
||||
g_object_remove_weak_pointer (G_OBJECT (page->last_focus_child), (gpointer *)&page->last_focus_child);
|
||||
{
|
||||
g_object_remove_weak_pointer (G_OBJECT (page->last_focus_child), (gpointer *)&page->last_focus_child);
|
||||
page->last_focus_child = NULL;
|
||||
}
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (page->child) && GTK_WIDGET_VISIBLE (notebook))
|
||||
need_resize = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user