Fix documentation of xcb_poll_for_event()
authorUli Schlachter <psychon@znc.in>
Sun, 8 Sep 2013 20:16:39 +0000 (22:16 +0200)
committerUli Schlachter <psychon@znc.in>
Sun, 8 Sep 2013 20:23:18 +0000 (22:23 +0200)
In commit 8eba8690adac2, the API documentation for xcb_poll_for_event() was
fixed to remove an argument that was previously removed in commit 34168ab549.

However, that commit only removed the first line of the documentation, leaving
behind a spurious half-sentence. That commit happened seven years ago and now
finally someone noticed...

Thanks to Benjamin Herr for reporting this on IRC.

v2: Thanks again to Benjamin Herr for noticing that my commit message blamed the
wrong commit.

Signed-off-by: Uli Schlachter <psychon@znc.in>
src/xcb.h

index f7dc6af..0714130 100644 (file)
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -278,7 +278,6 @@ xcb_generic_event_t *xcb_wait_for_event(xcb_connection_t *c);
 /**
  * @brief Returns the next event or error from the server.
  * @param c: The connection to the X server.
- * error status of the operation.
  * @return The next event from the server.
  *
  * Returns the next event or error from the server, if one is