[perl-Cairo] Fix version checks
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Cairo] Fix version checks
- Date: Sun, 16 May 2010 20:18:33 +0000 (UTC)
commit 648751072c2d11af9684b8a3dca062e0c18bd822
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sun May 16 22:13:12 2010 +0200
Fix version checks
Cairo.xs | 4 ++--
CairoSurface.xs | 6 +++---
t/Cairo.t | 2 +-
t/CairoSurface.t | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/Cairo.xs b/Cairo.xs
index e20ec08..453f9cf 100644
--- a/Cairo.xs
+++ b/Cairo.xs
@@ -459,7 +459,7 @@ void cairo_rectangle (cairo_t * cr, double x, double y, double width, double hei
void cairo_close_path (cairo_t * cr);
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 8) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
void cairo_path_extents (cairo_t *cr, OUTLIST double x1, OUTLIST double y1, OUTLIST double x2, OUTLIST double y2);
@@ -683,7 +683,7 @@ double cairo_get_tolerance (cairo_t *cr);
cairo_antialias_t cairo_get_antialias (cairo_t *cr);
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 10) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
cairo_bool_t cairo_has_current_point (cairo_t *cr);
diff --git a/CairoSurface.xs b/CairoSurface.xs
index 6b21116..9d8ab71 100644
--- a/CairoSurface.xs
+++ b/CairoSurface.xs
@@ -338,7 +338,7 @@ cairo_surface_write_to_png_stream (cairo_surface_t *surface, SV *func, SV *data=
#endif
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE (1, 5, 8) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE (1, 6, 0)
void cairo_surface_copy_page (cairo_surface_t *surface);
@@ -526,7 +526,7 @@ void cairo_ps_surface_dsc_begin_page_setup (cairo_surface_t *surface);
#endif
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
void cairo_ps_surface_restrict_to_level (cairo_surface_t *surface, cairo_ps_level_t level);
@@ -635,7 +635,7 @@ cairo_svg_surface_version_to_string (...)
# --------------------------------------------------------------------------- #
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 8) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
MODULE = Cairo::Surface PACKAGE = Cairo::Format PREFIX = cairo_format_
diff --git a/t/Cairo.t b/t/Cairo.t
index 9183a95..9194b6a 100644
--- a/t/Cairo.t
+++ b/t/Cairo.t
@@ -268,7 +268,7 @@ isa_ok ($cr->get_source, 'Cairo::Pattern');
SKIP: {
skip 'new stuff', 1
- unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 5, 10); # FIXME: 1.6
+ unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 6, 0);
ok ($cr->has_current_point);
}
diff --git a/t/CairoSurface.t b/t/CairoSurface.t
index 3f6def1..10dfd0d 100644
--- a/t/CairoSurface.t
+++ b/t/CairoSurface.t
@@ -107,7 +107,7 @@ $surf->flush;
SKIP: {
skip 'new stuff', 1
- unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 5, 8); # FIXME: 1.6
+ unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 6, 0);
$surf->copy_page;
$surf->show_page;
@@ -281,7 +281,7 @@ SKIP: {
SKIP: {
skip 'new stuff', 7
- unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 5, 2); # FIXME: 1.6
+ unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 6, 0);
$surf->restrict_to_level ('2');
$surf->restrict_to_level ('3');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]