[testinggtk] gdk.window_process_all_updates() has to be called, or the window will have an update area.



commit a810dec419eef3e39871978f739e2916ce96e420
Author: Björn Lindqvist <bjourne gmail com>
Date:   Fri Jul 10 13:29:50 2009 +0200

    gdk.window_process_all_updates() has to be called, or the window will have an update area.

 tests/gdk/test_window.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/gdk/test_window.py b/tests/gdk/test_window.py
index 7955ecc..672a060 100644
--- a/tests/gdk/test_window.py
+++ b/tests/gdk/test_window.py
@@ -127,6 +127,8 @@ def test_invalidate_mapped_window():
                         0,
                         gdk.INPUT_OUTPUT)
     window.show()
+    gdk.window_process_all_updates()
+
     window.invalidate_rect(gdk.Rectangle(0, 0, 50, 50), False)
     region = window.get_update_area()
     area = region.get_clipbox()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]