[glib] Fix minor typos in GSocketConnectable example code
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix minor typos in GSocketConnectable example code
- Date: Wed, 8 May 2013 01:00:18 +0000 (UTC)
commit c2d6aaa540240c1842b6204cafc8dca404e4ba87
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Mar 20 22:40:32 2012 +0200
Fix minor typos in GSocketConnectable example code
gio/gsocketconnectable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocketconnectable.c b/gio/gsocketconnectable.c
index 3bad099..b4efc99 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);
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]