[libsoup] Make connection-created and tunneling of SoupSession use a GObject
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libsoup] Make connection-created and tunneling of SoupSession use a GObject
- Date: Thu, 3 Dec 2009 14:39:24 +0000 (UTC)
commit b304a99ddebbb14b231c4b288e303b3088d7041e
Author: Vincent Untz <vuntz gnome org>
Date: Thu Dec 3 15:35:58 2009 +0100
Make connection-created and tunneling of SoupSession use a GObject
The connection-created and tunneling signals added to SoupSession in commit
6ff7ecdd were using SoupConnection, and this made SoupConnection
semi-public (gir-repository failed to build because it didn't know about
it, for example).
Since SoupConnection is intended to be private, use a GObject for the
signal parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=603696
libsoup/soup-session.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index c4d3044..547db9f 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -390,7 +390,9 @@ soup_session_class_init (SoupSessionClass *session_class)
NULL, NULL,
soup_marshal_NONE__OBJECT,
G_TYPE_NONE, 1,
- SOUP_TYPE_CONNECTION);
+ /* SoupConnection is public, so we can't use
+ * SOUP_TYPE_CONNECTION here */
+ G_TYPE_OBJECT);
signals[TUNNELING] =
g_signal_new ("tunneling",
@@ -400,7 +402,9 @@ soup_session_class_init (SoupSessionClass *session_class)
NULL, NULL,
soup_marshal_NONE__OBJECT,
G_TYPE_NONE, 1,
- SOUP_TYPE_CONNECTION);
+ /* SoupConnection is public, so we can't use
+ * SOUP_TYPE_CONNECTION here */
+ G_TYPE_OBJECT);
/* properties */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]