summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-17 11:28:26 +0000
committerCarl Worth <cworth@cworth.org>2005-05-17 11:28:26 +0000
commite72c41f95b8ae262f82d9023174c88f4e9c02fe3 (patch)
tree44ea524e65f9bc27d3e8bffb04ffcd8483dc73ff
parent5cc39a708c623cbe6a8c5efdad538778b2fbadd7 (diff)
Fix documentation to not mention set_size for the _for_bitmap functions.
-rw-r--r--ChangeLog6
-rw-r--r--src/cairo-xcb-surface.c6
-rw-r--r--src/cairo-xlib-surface.c6
3 files changed, 8 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a5ee99fc..41f5ee0a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-05-17 Carl Worth <cworth@cworth.org>
+ * src/cairo-xcb-surface.c:
+ * src/cairo-xlib-surface.c: Fix documentation to not mention
+ set_size for the _for_bitmap functions.
+
+2005-05-17 Carl Worth <cworth@cworth.org>
+
* util/cairo-api-update: Remove #ifdef munging since we once again
support either #if or #ifdef.
diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index e77e3dc3c..f623ca659 100644
--- a/src/cairo-xcb-surface.c
+++ b/src/cairo-xcb-surface.c
@@ -1178,16 +1178,12 @@ cairo_xcb_surface_create (XCBConnection *c,
/**
* cairo_xcb_surface_create_for_bitmap:
* @c: an XCB connection
- * @bitmap: an XCB drawable (a depth-1 pixmap)
+ * @bitmap: an XCB bitmap (a depth-1 pixmap)
* @width: the current width of @bitmap
* @height: the current height of @bitmap
*
* Creates an XCB surface that draws to the given bitmap.
* This will be drawn to as a CAIRO_FORMAT_A1 object.
- *
- * NOTE: If @drawable is a Window, then the function
- * cairo_xlib_surface_set_size must be called whenever the size of the
- * window changes.
*
* Return value: the newly created surface
**/
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 99672dfdc..4965820f7 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1125,17 +1125,13 @@ cairo_xlib_surface_create (Display *dpy,
/**
* cairo_xlib_surface_create_for_bitmap:
* @dpy: an X Display
- * @bitmap: an X Drawable, (a depth-1 Pixmap)
+ * @bitmap: an X bitmap (a depth-1 Pixmap)
* @width: the current width of @bitmap.
* @height: the current height of @bitmap.
*
* Creates an Xlib surface that draws to the given bitmap.
* This will be drawn to as a CAIRO_FORMAT_A1 object.
*
- * NOTE: If @drawable is a Window, then the function
- * cairo_xlib_surface_set_size must be called whenever the size of the
- * window changes.
- *
* Return value: the newly created surface
**/
cairo_surface_t *