Fix rather improbable reentrancy problem if a window is destroyed while

Thu Mar 14 17:09:52 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
        improbable reentrancy problem if a window is destroyed
        while updates are being processed on another window. (Noticed
        by Michael Meeks, #74708)
This commit is contained in:
Owen Taylor 2002-03-14 22:12:51 +00:00 committed by Owen Taylor
parent 2480ef52fb
commit 94694c8dc2
8 changed files with 52 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -1,3 +1,10 @@
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c

View File

@ -2139,9 +2139,12 @@ gdk_window_process_all_updates (void)
update_windows = NULL;
update_idle = 0;
g_slist_foreach (old_update_windows, (GFunc)g_object_ref, NULL);
while (tmp_list)
{
gdk_window_process_updates_internal (tmp_list->data);
g_object_unref (tmp_list->data);
tmp_list = tmp_list->next;
}