summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--cairomm/enums.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4169ffd..c385864 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-28 Danilo Piazzalunga <danilopiazza@gmail.com>
+
+ * cairomm/enums.h: Stop using CAIRO_EXTEND_PAD, as it only exists
+ in the 1.1.1 development branch.
+
2006-03-14 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* configure.in:
diff --git a/cairomm/enums.h b/cairomm/enums.h
index 3daed00..53aa3e8 100644
--- a/cairomm/enums.h
+++ b/cairomm/enums.h
@@ -119,7 +119,9 @@ typedef enum
EXTEND_NONE = CAIRO_EXTEND_NONE,
EXTEND_REPEAT = CAIRO_EXTEND_REPEAT,
EXTEND_REFLECT = CAIRO_EXTEND_REFLECT,
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,1,1)
EXTEND_PAD = CAIRO_EXTEND_PAD
+#endif /* CAIRO_VERSION > CAIRO_VERSION_ENCODE(1,1,1) */
} Extend;