[glib] gio/tests/proxy: don't use deprecated functions
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio/tests/proxy: don't use deprecated functions
- Date: Mon, 7 Nov 2011 18:50:21 +0000 (UTC)
commit f09e71aff05bfa07e58c68b2dd8396ed760e4666
Author: Dan Winship <danw gnome org>
Date: Mon Nov 7 13:50:00 2011 -0500
gio/tests/proxy: don't use deprecated functions
gio/tests/proxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/proxy.c b/gio/tests/proxy.c
index 664be58..c05d7e9 100644
--- a/gio/tests/proxy.c
+++ b/gio/tests/proxy.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]