[gtk+] gdk: Get rid of all mentions of process_all_updates()



commit 4b6e70b9c8dab0d42620ecfc51911ae81a327c91
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 24 15:26:15 2016 +0100

    gdk: Get rid of all mentions of process_all_updates()

 gdk/gdkwindow.c |   15 ++++++---------
 gdk/gdkwindow.h |    3 ---
 2 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 83002b7..7f133ff 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3745,9 +3745,8 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow            *window,
  * application would normally redraw the contents of @window in
  * response to those expose events.
  *
- * GDK will call gdk_window_process_all_updates() on your behalf
- * whenever your program returns to the main loop and becomes idle, so
- * normally there’s no need to do that manually, you just need to
+ * GDK will process all updates whenever the frame clock schedules a redraw,
+ * so there’s no need to do forces redraws manually, you just need to
  * invalidate regions that you know should be redrawn.
  *
  * The @child_func parameter controls whether the region of
@@ -3796,9 +3795,8 @@ gdk_window_invalidate_region_full (GdkWindow       *window,
  * application would normally redraw the contents of @window in
  * response to those expose events.
  *
- * GDK will call gdk_window_process_all_updates() on your behalf
- * whenever your program returns to the main loop and becomes idle, so
- * normally there’s no need to do that manually, you just need to
+ * GDK will process all updates whenever the frame clock schedules a redraw,
+ * so there’s no need to do forces redraws manually, you just need to
  * invalidate regions that you know should be redrawn.
  *
  * The @invalidate_children parameter controls whether the region of
@@ -3830,9 +3828,8 @@ gdk_window_invalidate_region (GdkWindow       *window,
  * application would normally redraw the contents of @window in
  * response to those expose events.
  *
- * GDK will call gdk_window_process_all_updates() on your behalf
- * whenever your program returns to the main loop and becomes idle, so
- * normally there’s no need to do that manually, you just need to
+ * GDK will process all updates whenever the frame clock schedules a redraw,
+ * so there’s no need to do forces redraws manually, you just need to
  * invalidate regions that you know should be redrawn.
  *
  * This version of invalidation is used when you recieve expose events
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 392933f..5a0601c 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -901,9 +901,6 @@ GDK_AVAILABLE_IN_ALL
 void       gdk_window_thaw_updates        (GdkWindow    *window);
 
 GDK_AVAILABLE_IN_ALL
-void       gdk_window_process_all_updates (void);
-
-GDK_AVAILABLE_IN_ALL
 void       gdk_window_constrain_size      (GdkGeometry    *geometry,
                                            GdkWindowHints  flags,
                                            gint            width,


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