mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix minor typos in GSocketConnectable example code
This commit is contained in:
parent
25fa94eb82
commit
c2d6aaa540
@ -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);
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user