From c2d6aaa540240c1842b6204cafc8dca404e4ba87 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Tue, 20 Mar 2012 22:40:32 +0200 Subject: [PATCH] Fix minor typos in GSocketConnectable example code --- gio/gsocketconnectable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gsocketconnectable.c b/gio/gsocketconnectable.c index 3bad099b8..b4efc990c 100644 --- a/gio/gsocketconnectable.c +++ b/gio/gsocketconnectable.c @@ -46,7 +46,7 @@ * GSocketAddress *sockaddr; * GError *conn_error = NULL; * - * addr = g_network_address_new ("www.gnome.org", 80); + * addr = g_network_address_new (hostname, port); * enumerator = g_socket_connectable_enumerate (addr); * g_object_unref (addr); *