[gtk+/wip/simple-draw2: 6/15] gdkwindow: Remove ancient USE_BACKING_STORE define
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/simple-draw2: 6/15] gdkwindow: Remove ancient USE_BACKING_STORE define
- Date: Wed, 24 Apr 2013 21:09:06 +0000 (UTC)
commit 76615eba3a58596607faf4b68299d3e049fe778f
Author: Alexander Larsson <alexl redhat com>
Date: Wed Apr 17 17:10:18 2013 +0200
gdkwindow: Remove ancient USE_BACKING_STORE define
This is always set anyway.
gdk/gdkwindow.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 355d11d..6782b28 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -143,8 +143,6 @@
* multiple client side windows in the same backing store.
*/
-#define USE_BACKING_STORE /* Appears to work on Win32, too, now. */
-
/* This adds a local value to the GdkVisibilityState enum */
#define GDK_VISIBILITY_NOT_VIEWABLE 3
@@ -2940,7 +2938,6 @@ void
gdk_window_begin_paint_region (GdkWindow *window,
const cairo_region_t *region)
{
-#ifdef USE_BACKING_STORE
GdkRectangle clip_box;
GdkWindowPaint *paint, *implicit_paint;
GdkWindow *impl_window;
@@ -3050,8 +3047,6 @@ gdk_window_begin_paint_region (GdkWindow *window,
gdk_window_clear_backing_region (window,
paint->region);
}
-
-#endif /* USE_BACKING_STORE */
}
/**
@@ -3070,7 +3065,6 @@ gdk_window_begin_paint_region (GdkWindow *window,
void
gdk_window_end_paint (GdkWindow *window)
{
-#ifdef USE_BACKING_STORE
GdkWindow *composited;
GdkWindowPaint *paint;
GdkRectangle clip_box;
@@ -3146,7 +3140,6 @@ gdk_window_end_paint (GdkWindow *window)
break;
}
}
-#endif /* USE_BACKING_STORE */
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]