mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
guard for windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported
2007-11-09 Kristian Rietveld <kris@imendio.com> * gdk/gdkwindow.c (gdk_window_process_all_updates): guard for windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported by Sebastien Bacher). svn path=/trunk/; revision=18975
This commit is contained in:
parent
b2ad97dd38
commit
50a766c95f
@ -1,3 +1,9 @@
|
||||
2007-11-09 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_process_all_updates): guard for
|
||||
windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported
|
||||
by Sebastien Bacher).
|
||||
|
||||
2007-11-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c:
|
||||
|
@ -2435,12 +2435,15 @@ gdk_window_process_all_updates (void)
|
||||
{
|
||||
GdkWindowObject *private = (GdkWindowObject *)tmp_list->data;
|
||||
|
||||
if (private->update_freeze_count ||
|
||||
gdk_window_is_toplevel_frozen (tmp_list->data))
|
||||
update_windows = g_slist_prepend (update_windows, private);
|
||||
else
|
||||
gdk_window_process_updates_internal (tmp_list->data);
|
||||
|
||||
if (!GDK_WINDOW_DESTROYED (tmp_list->data))
|
||||
{
|
||||
if (private->update_freeze_count ||
|
||||
gdk_window_is_toplevel_frozen (tmp_list->data))
|
||||
update_windows = g_slist_prepend (update_windows, private);
|
||||
else
|
||||
gdk_window_process_updates_internal (tmp_list->data);
|
||||
}
|
||||
|
||||
g_object_unref (tmp_list->data);
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user