diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-15 03:20:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:03:00 +0200 |
commit | 95686cb704037ed1c5f0408e5d8cacc0dd314d3f (patch) | |
tree | aa50b850cbea26c4f7997ecf839eaf6d79dde593 /gdk | |
parent | 547e2cc837c8aa92e35bbb5e856a9436f9bcbab4 (diff) | |
download | gtk+-95686cb704037ed1c5f0408e5d8cacc0dd314d3f.tar.gz |
gdk: Remove send_expose event from gdk_window_clear_region_internal()
It's always FALSE.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkwindow.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 06835221b0..9fe481000a 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3836,8 +3836,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; @@ -3849,8 +3848,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); } } @@ -3892,8 +3889,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); } @@ -4326,7 +4322,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); } } |