summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-05-07 18:11:25 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-05-07 18:11:25 +0000
commit70a5f5902542c231d6f42ce35674d43a60d2d190 (patch)
treee1ad7eb62c1daa080f63878f00d851a621272b15 /examples
parente174de1f25a84cae71518bfc5ac0f82e4cda964e (diff)
downloadpango-70a5f5902542c231d6f42ce35674d43a60d2d190.tar.gz
Remove some accidentally deleted code.
2005-05-07 Owen Taylor <otaylor@redhat.com> * examples/cairoview.c (update): Remove some accidentally deleted code.
Diffstat (limited to 'examples')
-rw-r--r--examples/cairoview.c5
1 files changed, 5 insertions, 0 deletions
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));