summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-11-23 19:02:58 +0100
committerBenjamin Otte <otte@redhat.com>2016-11-23 19:02:58 +0100
commitef75ca2d53b44d7273c841d1f84b817725c07d30 (patch)
treef8722dc07db28130789ede04faef24c8b0a309ec /gdk
parent4dedafb79b8b9cf6043b5a9cc5a533bf343071cf (diff)
downloadgtk+-ef75ca2d53b44d7273c841d1f84b817725c07d30.tar.gz
API: gdk: Remove gdk_window_process_updates()
We have a frame clock now.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkwindow.c27
-rw-r--r--gdk/gdkwindow.h3
2 files changed, 0 insertions, 30 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index ee93ade486..07aff2ac73 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3699,33 +3699,6 @@ gdk_window_process_updates_with_mode (GdkWindow *window,
g_ptr_array_free (list, TRUE);
}
-/**
- * gdk_window_process_updates:
- * @window: a #GdkWindow
- * @update_children: whether to also process updates for child windows
- *
- * Sends one or more expose events to @window. The areas in each
- * expose event will cover the entire update area for the window (see
- * gdk_window_invalidate_region() for details). Normally GDK calls
- * gdk_window_process_all_updates() on your behalf, so there’s no
- * need to call this function unless you want to force expose events
- * to be delivered immediately and synchronously (vs. the usual
- * case, where GDK delivers them in an idle handler). Occasionally
- * this is useful to produce nicer scrolling behavior, for example.
- *
- **/
-void
-gdk_window_process_updates (GdkWindow *window,
- gboolean update_children)
-{
- g_return_if_fail (GDK_IS_WINDOW (window));
-
- gdk_window_process_updates_with_mode (window,
- update_children ?
- PROCESS_UPDATES_WITH_ALL_CHILDREN :
- PROCESS_UPDATES_NO_RECURSE);
-}
-
static void
gdk_window_invalidate_rect_full (GdkWindow *window,
const GdkRectangle *rect,
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 482cc371b6..392933f7e8 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -902,9 +902,6 @@ 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_process_updates (GdkWindow *window,
- gboolean update_children);
GDK_AVAILABLE_IN_ALL
void gdk_window_constrain_size (GdkGeometry *geometry,