[cairo-commit] cairo/src cairo-xlib-surface.c, 1.62,
1.63 cairo-xlib.h, 1.13, 1.14
Owen Taylor
commit at pdx.freedesktop.org
Tue May 10 21:06:04 PDT 2005
Committed by: otaylor
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv24935/src
Modified Files:
cairo-xlib-surface.c cairo-xlib.h
Log Message:
2005-05-11 Owen Taylor <otaylor at redhat.com>
* src/cairo-xlib-surface.c src/cairo-xlib.h: Remove leftover
cairo_xlib_surface_create().
Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- cairo-xlib-surface.c 6 May 2005 20:32:53 -0000 1.62
+++ cairo-xlib-surface.c 11 May 2005 04:06:01 -0000 1.63
@@ -1003,22 +1003,6 @@
return (cairo_surface_t *) surface;
}
-cairo_surface_t *
-cairo_xlib_surface_create (Display *dpy,
- Drawable drawable,
- Visual *visual,
- cairo_format_t format,
- Colormap colormap)
-{
- /* Just assume a window ... slow but safe. This function is
- * going away anyways
- */
- return _cairo_xlib_surface_create_internal (dpy, drawable,
- CAIRO_XLIB_WINDOW,
- visual,
- format);
-}
-
/**
* cairo_xlib_surface_create_for_pixmap:
* @dpy: an X display
Index: cairo-xlib.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cairo-xlib.h 7 May 2005 04:33:22 -0000 1.13
+++ cairo-xlib.h 11 May 2005 04:06:01 -0000 1.14
@@ -61,14 +61,6 @@
Window window,
Visual *visual);
-/* Deprecated in favor of the more specific functions above */
-cairo_surface_t *
-cairo_xlib_surface_create (Display *dpy,
- Drawable drawable,
- Visual *visual,
- cairo_format_t format,
- Colormap colormap);
-
void
cairo_xlib_surface_set_size (cairo_surface_t *surface,
int width,
More information about the cairo-commit
mailing list