sock_source_callback, /* func */
NULL, /* data */
NULL); /* notify */
- if (g_source_attach(
+ if (!g_source_attach( /* returns 'guint' id */
sock_gsource, /* source */
NULL)) { /* context; NULL means 'default context' */
g_warning("g_source_attach(gsource,NULL): %m");