summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2016-08-31 22:16:55 -0500
committerGary Kramlich <grim@reaperworld.com>2016-08-31 22:16:55 -0500
commit2d4360e0352a30a57c305d8a2d0c903743d30f05 (patch)
tree123657f6764b4243c7779530bd28773a89a75482
parent3da9d5ff3885bde1c39a88b12037995b47cd966e (diff)
downloadpidgin-2d4360e0352a30a57c305d8a2d0c903743d30f05.tar.gz
Fix a bunch of typos and other silly issues
-rw-r--r--libpurple/sslconn.h4
-rw-r--r--libpurple/status.h1
-rw-r--r--libpurple/stun.h4
-rw-r--r--libpurple/xfer.h6
4 files changed, 8 insertions, 7 deletions
diff --git a/libpurple/sslconn.h b/libpurple/sslconn.h
index 18c05c408a..711244f8f5 100644
--- a/libpurple/sslconn.h
+++ b/libpurple/sslconn.h
@@ -32,7 +32,7 @@
* PurpleSslErrorType:
* @PURPLE_SSL_HANDSHAKE_FAILED: The handshake failed
* @PURPLE_SSL_CONNECT_FAILED: The connection failed
- * @PURPLE_SSL_CERTIFICATE_INVALID: The certificated is invalid.
+ * @PURPLE_SSL_CERTIFICATE_INVALID: The certificated is invalid
*
* Possible SSL errors.
*/
@@ -69,7 +69,7 @@ typedef void (*PurpleSslErrorFunction)(PurpleSslConnection *, PurpleSslErrorType
* @inpa: Glib event source ID; used to refer to the received data
* callback in the glib eventloop
* @connect_data: Data related to the underlying TCP connection
- * @conn: The under lying #GTlsCOnnection
+ * @conn: The underlying #GTlsConnection
* @cancellable: A cancellable to call when cancelled
* @private_data: Internal connection data managed by the SSL backend
* (GnuTLS/LibNSS/whatever)
diff --git a/libpurple/status.h b/libpurple/status.h
index 3b358433d1..2a20bd9512 100644
--- a/libpurple/status.h
+++ b/libpurple/status.h
@@ -69,6 +69,7 @@ typedef struct _PurpleMood {
/**
* PurpleStatusPrimitive:
+ *
* @PURPLE_STATUS_UNSET: The status is not set
* @PURPLE_STATUS_OFFLINE: The status is offline
* @PURPLE_STATUS_AVAILABLE: The status is available
diff --git a/libpurple/stun.h b/libpurple/stun.h
index 1106a04391..d40e65dafd 100644
--- a/libpurple/stun.h
+++ b/libpurple/stun.h
@@ -76,7 +76,7 @@ typedef enum {
* @type: The #PurpleStunNatType
* @publicip: The public ip
* @servername: The name of the stun server
- * @lookup_time: The time when the lookup occurred.
+ * @lookup_time: The time when the lookup occurred
*
* A data type representing a STUN lookup.
*/
@@ -103,7 +103,7 @@ G_BEGIN_DECLS
* and NULL is returned.
*
* Returns: a #PurpleStunNatDiscovery which includes the public IP and the type
- * of NAT or NULL is discovery would block
+ * of NAT or NULL if discovery would block
*/
PurpleStunNatDiscovery *purple_stun_discover(PurpleStunCallback cb);
diff --git a/libpurple/xfer.h b/libpurple/xfer.h
index fe54fbdfbd..99a0ad999d 100644
--- a/libpurple/xfer.h
+++ b/libpurple/xfer.h
@@ -72,7 +72,7 @@ typedef enum
* @PURPLE_XFER_STATUS_UNKNOWN: Unknown, the xfer may be null.
* @PURPLE_XFER_STATUS_NOT_STARTED: It hasn't started yet.
* @PURPLE_XFER_STATUS_ACCEPTED: Receive accepted, but destination file
- * not selected yet
+ * not selected yet.
* @PURPLE_XFER_STATUS_STARTED: purple_xfer_start has been called.
* @PURPLE_XFER_STATUS_DONE: The xfer completed successfully.
* @PURPLE_XFER_STATUS_CANCEL_LOCAL: The xfer was cancelled by us.
@@ -99,9 +99,9 @@ typedef enum
* @add_xfer: UI op that's called when a transfer should be added to the UI.
* @update_progress: UI op that's called when a transfer's progress has been
* updated.
- * @cancel_local: UI op that's called when a transfer has been canceled on the
+ * @cancel_local: UI op that's called when a transfer has been cancelled on the
* local end.
- * @cancel_remote: UI op that's called when a transfer has been canceled on
+ * @cancel_remote: UI op that's called when a transfer has been cancelled on
* the remote end.
* @ui_write: UI op to write data received from the protocol. The UI must deal
* with the entire buffer and return size, or it is treated as an