SHA256
1
0
forked from pool/libsoup
libsoup/libsoup-gir-repository-build.patch
Vincent Untz f4d9960044 Accepting request 25503 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/libsoup via accept of submit request 25503 revision 5.
Request was accepted with message:
accepting

OBS-URL: https://build.opensuse.org/request/show/25503
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=44
2009-12-04 03:02:36 +00:00

43 lines
1.4 KiB
Diff

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
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 */