[Xcb-commit] 2 commits - event icccm image property
Jamey Sharp
jamey at kemper.freedesktop.org
Wed Jun 23 21:34:30 PDT 2010
event/xcb_event.h | 8 ++++----
icccm/xcb_icccm.h | 2 +-
image/xcb_image.h | 4 ++--
property/xcb_property.h | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 07bb165f86af00f9b8cfd32028408bef74b6e542
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jun 14 13:49:09 2010 -0700
Rename XCB_EVENT_ERROR_SUCESS to XCB_EVENT_ERROR_SUCCESS
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Signed-off-by: Jamey Sharp <jamey at minilop.net>
diff --git a/event/xcb_event.h b/event/xcb_event.h
index 2ba23a7..aac51d1 100644
--- a/event/xcb_event.h
+++ b/event/xcb_event.h
@@ -169,7 +169,7 @@ XCB_EVENT_MAKE_EVENT_HANDLER(client_message, CLIENT_MESSAGE)
XCB_EVENT_MAKE_EVENT_HANDLER(mapping_notify, MAPPING_NOTIFY)
/** Everything is ok */
-#define XCB_EVENT_ERROR_SUCESS 0
+#define XCB_EVENT_ERROR_SUCCESS 0
/** Bad request code */
#define XCB_EVENT_ERROR_BAD_REQUEST 1
/** Int parameter out of range */
commit b5fc78d8191b15937d599a5cd37d583a76b27592
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jun 14 13:49:08 2010 -0700
Fix typos in various header comments
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Signed-off-by: Jamey Sharp <jamey at minilop.net>
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.
*
* @{
*/
More information about the xcb-commit
mailing list