[cairo-commit] cairo/src cairo-xlib-surface.c,1.66,1.67

Carl Worth commit at pdx.freedesktop.org
Sat May 14 10:15:13 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv25676/src

Modified Files:
	cairo-xlib-surface.c 
Log Message:

        * src/cairo-xlib-surface.c: (cairo_test_xlib_disable_render),
        (cairo_xlib_surface_create_with_visual):
        * test/.cvsignore: Fix a few documentation typos in the recent
        xlib surface rework.


Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- cairo-xlib-surface.c	14 May 2005 00:54:43 -0000	1.66
+++ cairo-xlib-surface.c	14 May 2005 17:15:11 -0000	1.67
@@ -105,14 +105,15 @@
  * Disables the use of the RENDER extension.
  * 
  * <note>
- * This function is for testing use within the Cairo distribution
- * <emphasis>only</emphasis> and is in any publically installed header.
+ * This function is <emphasis>only</emphasis> intended for internal
+ * testing use within the cairo distribution. It is not installed in
+ * any public header file.
  * </note>
  **/
 void
 cairo_test_xlib_disable_render (void)
 {
-  cairo_xlib_render_disabled = TRUE;
+    cairo_xlib_render_disabled = TRUE;
 }
 
 static int
@@ -1095,8 +1096,8 @@
 
 /**
  * cairo_xlib_surface_create:
- * @dpy: an X display
- * @drawable: an X drawable
+ * @dpy: an X Display
+ * @drawable: an X Drawable, (a Pixmap or a Window)
  * @format: a standard cairo pixel data format. The depth (number of
  *          of bits used) for the format must match the depth of
  *          @pixmap.
@@ -1121,8 +1122,8 @@
 
 /**
  * cairo_xlib_surface_create_with_visual:
- * @dpy: an X display
- * @drawable: an  X pixmap
+ * @dpy: an X Display
+ * @drawable: an X Drawable, (a Pixmap or a Window)
  * @visual: the visual to use for drawing to @drawable. The depth
  *          of the visual must match the depth of the drawable.
  *          Currently, only TrueColor visuals are fully supported.
@@ -1144,7 +1145,7 @@
  **/
 cairo_surface_t *
 cairo_xlib_surface_create_with_visual (Display  *dpy,
-				       Pixmap    pixmap,
+				       Drawable	 drawable,
 				       Visual   *visual)
 {
     return _cairo_xlib_surface_create_internal (dpy, pixmap,




More information about the cairo-commit mailing list