Take a GMainContext as well, and update the resolution code to dispatch
authorDan Winship <danw@src.gnome.org>
Fri, 3 Mar 2006 19:32:36 +0000 (19:32 +0000)
committerDan Winship <danw@src.gnome.org>
Fri, 3 Mar 2006 19:32:36 +0000 (19:32 +0000)
commit12d0bda17052c5cf2f80ea168eac93f659a3fa9b
tree7b91c3f0b7fc6f73947bc23c55243fb324170d1d
parent666d532354a71aa69ea84b5e76f0839bd59e900f
Take a GMainContext as well, and update the resolution code to dispatch

* libsoup/soup-dns.c (soup_dns_lookup_resolve_async): Take a
GMainContext as well, and update the resolution code to dispatch
each lookup result in the correct context.

* libsoup/soup-address.c (soup_address_resolve_async_full): New
method that takes a GMainContext to pass to
soup_dns_lookup_resolve_async.

* libsoup/soup-socket.c (soup_socket_connect): Use
soup_address_resolve_async_full. Fixes a problem reported by Armin
Bauer.

* configure.in: update to require glib 2.6, since apparently the
code does.
ChangeLog
configure.in
libsoup/soup-address.c
libsoup/soup-address.h
libsoup/soup-dns.c
libsoup/soup-dns.h
libsoup/soup-socket.c