[gtk+] Remove unused functions
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove unused functions
- Date: Sun, 19 Feb 2012 14:13:05 +0000 (UTC)
commit 26ed41ece508a9d0228f4cae54c7b0be1d988466
Author: Alexander Larsson <alexl redhat com>
Date: Sun Feb 19 15:10:48 2012 +0100
Remove unused functions
gdk/gdkwindow.c | 27 ---------------------------
1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 3f541c6..bcbd335 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3576,33 +3576,6 @@ gdk_window_clear_backing_region (GdkWindow *window,
}
static void
-gdk_window_clear_backing_region_direct (GdkWindow *window,
- cairo_region_t *region)
-{
- GdkWindowPaint paint;
- cairo_region_t *clip;
- cairo_t *cr;
-
- if (GDK_WINDOW_DESTROYED (window))
- return;
-
- paint.surface = _gdk_window_ref_cairo_surface (window);
-
- cr = setup_backing_rect (window, &paint);
-
- clip = cairo_region_copy (window->clip_region_with_children);
- cairo_region_intersect (clip, region);
-
- gdk_cairo_region (cr, clip);
- cairo_fill (cr);
-
- cairo_destroy (cr);
-
- cairo_region_destroy (clip);
- cairo_surface_destroy (paint.surface);
-}
-
-static void
gdk_window_drop_cairo_surface (GdkWindow *window)
{
if (window->cairo_surface)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]