diff options
author | 5 <yosh@gimp.org> | 2005-05-14 06:55:14 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2005-05-14 06:55:14 +0000 |
commit | 84c59834e80daa3b01348bbe075996e1f920dfd0 (patch) | |
tree | b623d60a93190951207875098672be86b7920ade | |
parent | 868c04571452fd0b6b934b8032f2360b681b20a5 (diff) | |
download | pango-84c59834e80daa3b01348bbe075996e1f920dfd0.tar.gz |
#include Xutil.h explicitly, update for renamed cairo API.
Fri May 13 23:54:29 2005 <yosh@gimp.org>
* examples/cairoview.c: #include Xutil.h explicitly, update
for renamed cairo API.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | examples/cairoview.c | 8 |
3 files changed, 15 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Fri May 13 23:54:29 2005 <yosh@gimp.org> + + * examples/cairoview.c: #include Xutil.h explicitly, update + for renamed cairo API. + 2005-05-11 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32font.c (pango_cairo_win32_font_install): diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 388b0034..a76efc69 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Fri May 13 23:54:29 2005 <yosh@gimp.org> + + * examples/cairoview.c: #include Xutil.h explicitly, update + for renamed cairo API. + 2005-05-11 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32font.c (pango_cairo_win32_font_install): diff --git a/examples/cairoview.c b/examples/cairoview.c index f0fe855a..9c922c7f 100644 --- a/examples/cairoview.c +++ b/examples/cairoview.c @@ -26,6 +26,8 @@ #include <stdio.h> #include <string.h> +#include <X11/Xutil.h> + #include "renderdemo.h" #include <pango/pangocairo.h> @@ -141,9 +143,9 @@ update () 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)); + surface = cairo_xlib_surface_create_with_visual (display, + pixmap, + DefaultVisual (display, screen)); cr = render_data.cr = cairo_create (surface); |