[Xcb] [PATCH:xcb-util v3] Fix typos in various header comments

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jun 14 13:49:08 PDT 2010


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---

Merged in a few more I found with "spell */*.h", removed the comment 
about not changing XCB_EVENT_ERROR_SUCESS

 event/xcb_event.h       |    6 +++---
 icccm/xcb_icccm.h       |    2 +-
 image/xcb_image.h       |    4 ++--
 property/xcb_property.h |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/event/xcb_event.h b/event/xcb_event.h
index 9bd286b..2ba23a7 100644
--- a/event/xcb_event.h
+++ b/event/xcb_event.h
@@ -168,7 +168,7 @@ XCB_EVENT_MAKE_EVENT_HANDLER(colormap_notify, COLORMAP_NOTIFY)
 XCB_EVENT_MAKE_EVENT_HANDLER(client_message, CLIENT_MESSAGE)
 XCB_EVENT_MAKE_EVENT_HANDLER(mapping_notify, MAPPING_NOTIFY)
 
-/** Everyting is ok */
+/** Everything is ok */
 #define XCB_EVENT_ERROR_SUCESS 0
 /** Bad request code */
 #define XCB_EVENT_ERROR_BAD_REQUEST 1
@@ -214,7 +214,7 @@ XCB_EVENT_MAKE_EVENT_HANDLER(mapping_notify, MAPPING_NOTIFY)
 #define XCB_EVENT_ERROR_BAD_IMPLEMENTATION 17
 
 /**
- * @brief Convert an event reponse type to a label.
+ * @brief Convert an event response type to a label.
  * @param type The event type.
  * @return A string with the event name, or NULL if unknown.
  */
@@ -222,7 +222,7 @@ const char * xcb_event_get_label(uint8_t type);
 
 /**
  * @brief Convert an event error type to a label.
- * @param type The erro type.
+ * @param type The error type.
  * @return A string with the event name, or NULL if unknown or if the event is
  * not an error.
  */
diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 0de4638..f05ced0 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -465,7 +465,7 @@ xcb_get_property_cookie_t xcb_get_wm_class_unchecked(xcb_connection_t *c,
 
 /**
  * @brief Fill give structure with the WM_CLASS property of a window.
- * @param prop The property structur to fill.
+ * @param prop The property structure to fill.
  * @param reply The property request reply.
  * @return Return 1 on success, 0 otherwise.
  */
diff --git a/image/xcb_image.h b/image/xcb_image.h
index 3b54da3..f41187d 100644
--- a/image/xcb_image.h
+++ b/image/xcb_image.h
@@ -513,7 +513,7 @@ xcb_image_subimage(xcb_image_t *  image,
  * bits. For XYPixmap and ZPixmap, the depth must match the depth of
  * the drawable, or a ``BadMatch'' error results.
  *
- * If a problem occurs, the functons returns @c 0. Otherwise, it
+ * If a problem occurs, the function returns @c 0. Otherwise, it
  * returns @c 1.
  * @ingroup xcb__image_t
  */
@@ -551,7 +551,7 @@ xcb_image_shm_put (xcb_connection_t *      conn,
  * within the drawable, and @p plane_mask defines which planes are to be
  * read.
  *
- * If a problem occurs, the functons returns @c 0. It returns 1
+ * If a problem occurs, the function returns @c 0. It returns 1
  * otherwise.
  * @ingroup xcb__image_t
  */
diff --git a/property/xcb_property.h b/property/xcb_property.h
index d90f5c9..30ffc14 100644
--- a/property/xcb_property.h
+++ b/property/xcb_property.h
@@ -29,7 +29,7 @@
 /**
  * @defgroup xcb__property_t XCB Property Functions
  *
- * These functions ease the handling of X propertiess received.
+ * These functions ease the handling of X properties received.
  *
  * @{
  */
-- 
1.5.6.5



More information about the Xcb mailing list