gio/tests/proxy: don't use deprecated functions
authorDan Winship <danw@gnome.org>
Mon, 7 Nov 2011 18:50:00 +0000 (13:50 -0500)
committerDan Winship <danw@gnome.org>
Mon, 7 Nov 2011 18:50:00 +0000 (13:50 -0500)
gio/tests/proxy.c

index 664be58..c05d7e9 100644 (file)
@@ -322,7 +322,7 @@ use_unix_address (gboolean synchronous)
   GSocketAddressEnumerator *enumerator;
   GSocketAddress *sockaddr;
 
-  sockaddr = g_unix_socket_address_new_abstract (info, -1);
+  sockaddr = g_unix_socket_address_new_with_type (info, -1, G_UNIX_SOCKET_ADDRESS_ABSTRACT);
 
   if (sockaddr == NULL)
     {