[glib] Fix some socket docs issues, remove unused typedefs
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix some socket docs issues, remove unused typedefs
- Date: Mon, 6 Jun 2011 14:24:00 +0000 (UTC)
commit 1eb7efce8e0f9c28de0bbd5c922cb2ee52f88108
Author: Dan Winship <danw gnome org>
Date: Mon Jun 6 10:22:40 2011 -0400
Fix some socket docs issues, remove unused typedefs
pointed out by Matthias
gio/gioenums.h | 2 +-
gio/giotypes.h | 3 ---
gio/gproxyresolver.c | 2 +-
gio/gthreadedsocketservice.c | 2 +-
4 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gio/gioenums.h b/gio/gioenums.h
index b707745..bf9c1d5 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -1331,7 +1331,7 @@ typedef enum {
* is still in the future
* @G_TLS_CERTIFICATE_EXPIRED: The certificate has expired
* @G_TLS_CERTIFICATE_REVOKED: The certificate has been revoked
- * according to the #GTlsContext's certificate revocation list.
+ * according to the #GTlsConnection's certificate revocation list.
* @G_TLS_CERTIFICATE_INSECURE: The certificate's algorithm is
* considered insecure.
* @G_TLS_CERTIFICATE_GENERIC_ERROR: Some other error occurred validating
diff --git a/gio/giotypes.h b/gio/giotypes.h
index 3cc4f66..af27586 100644
--- a/gio/giotypes.h
+++ b/gio/giotypes.h
@@ -205,11 +205,8 @@ typedef struct _GThreadedSocketService GThreadedSocketServi
typedef struct _GThemedIcon GThemedIcon;
typedef struct _GTlsCertificate GTlsCertificate;
typedef struct _GTlsClientConnection GTlsClientConnection; /* Dummy typedef */
-typedef struct _GTlsClientContext GTlsClientContext; /* Dummy typedef */
typedef struct _GTlsConnection GTlsConnection;
-typedef struct _GTlsContext GTlsContext;
typedef struct _GTlsServerConnection GTlsServerConnection; /* Dummy typedef */
-typedef struct _GTlsServerContext GTlsServerContext; /* Dummy typedef */
typedef struct _GVfs GVfs; /* Dummy typedef */
/**
diff --git a/gio/gproxyresolver.c b/gio/gproxyresolver.c
index f273ecf..2bc9733 100644
--- a/gio/gproxyresolver.c
+++ b/gio/gproxyresolver.c
@@ -39,7 +39,7 @@
* @include: gio/gio.h
*
* #GProxyResolver provides synchronous and asynchronous network proxy
- * resolution. #GProxyResolver is used within #GClientSocket through
+ * resolution. #GProxyResolver is used within #GSocketClient through
* the method g_socket_connectable_proxy_enumerate().
*/
diff --git a/gio/gthreadedsocketservice.c b/gio/gthreadedsocketservice.c
index 6908d2a..feaf31b 100644
--- a/gio/gthreadedsocketservice.c
+++ b/gio/gthreadedsocketservice.c
@@ -259,7 +259,7 @@ g_threaded_socket_service_class_init (GThreadedSocketServiceClass *class)
* handling incoming clients, -1 means no limit
*
* Creates a new #GThreadedSocketService with no listeners. Listeners
- * must be added with g_socket_service_add_listeners().
+ * must be added with one of the #GSocketListener "add" methods.
*
* Returns: a new #GSocketService.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]