[dia] Remove GTK_CHECK_VERSION checks up to 2.8.0.
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] Remove GTK_CHECK_VERSION checks up to 2.8.0.
- Date: Sat, 1 Aug 2009 16:50:36 +0000 (UTC)
commit 55e72f89e0343c681498b9be7ce0c594077f6343
Author: Adam Buchbinder <adam buchbinder gmail com>
Date: Tue Jul 28 16:08:44 2009 -0400
Remove GTK_CHECK_VERSION checks up to 2.8.0.
We can do this because configure.in currently assumes >=2.12.
Signed-off-by: Hans Breuer <hans breuer org>
plug-ins/cairo/diacairo-interactive.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/cairo/diacairo-interactive.c b/plug-ins/cairo/diacairo-interactive.c
index e530b7e..c83ab92 100644
--- a/plug-ins/cairo/diacairo-interactive.c
+++ b/plug-ins/cairo/diacairo-interactive.c
@@ -206,13 +206,7 @@ begin_render(DiaRenderer *self)
DiaCairoRenderer *base_renderer = DIA_CAIRO_RENDERER (self);
g_return_if_fail (base_renderer->cr == NULL);
-#if GTK_CHECK_VERSION(2,8,0)
base_renderer->cr = gdk_cairo_create(renderer->pixmap);
-#else
- base_renderer->surface = cairo_image_surface_create (
- CAIRO_FORMAT_ARGB32, get_width_pixels (self), get_height_pixels (self));
- base_renderer->cr = cairo_create (base_renderer->surface);
-#endif
cairo_scale (base_renderer->cr, *renderer->zoom_factor, *renderer->zoom_factor);
cairo_translate (base_renderer->cr, -renderer->visible->left, -renderer->visible->top);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]