Fix minor typos in GSocketConnectable example code

This commit is contained in:
Zeeshan Ali (Khattak) 2012-03-20 22:40:32 +02:00
parent 25fa94eb82
commit c2d6aaa540

View File

@ -46,7 +46,7 @@
* GSocketAddress *sockaddr; * GSocketAddress *sockaddr;
* GError *conn_error = NULL; * 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); * enumerator = g_socket_connectable_enumerate (addr);
* g_object_unref (addr); * g_object_unref (addr);
* *