summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-14 13:49:08 -0700
committerJamey Sharp <jamey@minilop.net>2010-06-23 21:34:08 -0700
commitb5fc78d8191b15937d599a5cd37d583a76b27592 (patch)
tree9c5e10a9dfefb22c1f71f493a67a9d3d1fea79e8
parent962145e957ca283603f55c01fddb505be10583f4 (diff)
Fix typos in various header comments
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r--event/xcb_event.h6
-rw-r--r--icccm/xcb_icccm.h2
-rw-r--r--image/xcb_image.h4
-rw-r--r--property/xcb_property.h2
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.
*
* @{
*/