]> Pileus Git - ~andy/gtk/commitdiff
Fix rather improbable reentrancy problem if a window is destroyed while
authorOwen Taylor <otaylor@redhat.com>
Thu, 14 Mar 2002 22:12:51 +0000 (22:12 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 14 Mar 2002 22:12:51 +0000 (22:12 +0000)
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)

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
gdk/gdkwindow.c

index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 974db102b9669c67f96237a8505976b6d53ba129..a8e2d36282bb20a5623922b25f90c539db7edc63 100644 (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
index 8199e09bf63d750dfa8a9fd90fb156999d5d2ece..187c3a2891b1c19485e7d37b0fe9b8ae553ff072 100644 (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;
     }