[gtk+/rendering-cleanup: 40/141] gdk: Remove send_expose event from gdk_window_clear_region_internal()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 40/141] gdk: Remove send_expose event from gdk_window_clear_region_internal()
- Date: Sat, 11 Sep 2010 03:04:00 +0000 (UTC)
commit 255d90cd66acb0480e630b5015c31becbb1e974e
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 15 03:20:10 2010 +0200
gdk: Remove send_expose event from gdk_window_clear_region_internal()
It's always FALSE.
gdk/gdkwindow.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 9eef106..c917273 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3833,8 +3833,7 @@ clears_as_native (GdkWindowObject *private)
static void
gdk_window_clear_region_internal (GdkWindow *window,
- cairo_region_t *region,
- gboolean send_expose)
+ cairo_region_t *region)
{
GdkWindowObject *private = (GdkWindowObject *)window;
@@ -3846,8 +3845,6 @@ gdk_window_clear_region_internal (GdkWindow *window,
gdk_window_clear_backing_region_redirect (window, region);
gdk_window_clear_backing_region_direct (window, region);
- if (send_expose)
- gdk_window_invalidate_region (window, region, FALSE);
}
}
@@ -3889,8 +3886,7 @@ gdk_window_clear_area (GdkWindow *window,
region = cairo_region_create_rectangle (&rect);
gdk_window_clear_region_internal (window,
- region,
- FALSE);
+ region);
cairo_region_destroy (region);
}
@@ -4323,7 +4319,7 @@ _gdk_window_process_updates_recurse (GdkWindow *window,
* piggyback on the implicit paint */
gdk_window_begin_paint_region (window, expose_region);
- gdk_window_clear_region_internal (window, expose_region, FALSE);
+ gdk_window_clear_region_internal (window, expose_region);
gdk_window_end_paint (window);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]