summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--examples/cairoview.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98c6936c..e25c2bb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-05-07 Owen Taylor <otaylor@redhat.com>
+ * examples/cairoview.c (update): Remove some accidentally
+ deleted code.
+
+2005-05-07 Owen Taylor <otaylor@redhat.com>
+
* pango/pangocairo-fontmap.c pango/pangocairo-render.c
examples/cairosimple.c pango/pangocairo-fcfont.c
examples/cairoview.c: Update for Cairo API changes.
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 98c6936c..e25c2bb0 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,5 +1,10 @@
2005-05-07 Owen Taylor <otaylor@redhat.com>
+ * examples/cairoview.c (update): Remove some accidentally
+ deleted code.
+
+2005-05-07 Owen Taylor <otaylor@redhat.com>
+
* pango/pangocairo-fontmap.c pango/pangocairo-render.c
examples/cairosimple.c pango/pangocairo-fcfont.c
examples/cairoview.c: Update for Cairo API changes.
diff --git a/examples/cairoview.c b/examples/cairoview.c
index 356efd95..f0fe855a 100644
--- a/examples/cairoview.c
+++ b/examples/cairoview.c
@@ -136,6 +136,11 @@ update ()
/* Create a temporary pixmap and a Cairo context pointing to it */
extents = pixman_region_extents (update_region);
+
+ pixmap = XCreatePixmap (display, window,
+ extents->x2 - extents->x1,
+ extents->y2 - extents->y1,
+ DefaultDepth (display, screen));
surface = cairo_xlib_surface_create_for_pixmap_with_visual (display,
pixmap,
DefaultVisual (display, screen));