controller: stick to 2.22 API

This commit is contained in:
Marc-André Lureau 2011-05-20 12:59:45 +02:00
parent a3f50aeac9
commit 26267f5015

View File

@ -228,7 +228,7 @@ public class SpiceController: Object {
listener.add_named_pipe (np);
#else
var listener = new SocketListener ();
listener.add_address (new UnixSocketAddress.with_type (addr, addr.length, UnixSocketAddressType.PATH),
listener.add_address (new UnixSocketAddress (addr),
SocketType.STREAM, SocketProtocol.DEFAULT, null, null);
#endif
for (;;) {