libpurple/protocols/jabber/jabber.c

changeset 22067
bb6fd6d794b5
parent 21974
daa6296d122d
child 22069
841d24b3a2bc
child 22096
0d28b254d322
equal deleted inserted replaced
22066:bbee682c0646 22067:bb6fd6d794b5
388 g_free(txt); 388 g_free(txt);
389 } 389 }
390 390
391 static void jabber_pong_cb(JabberStream *js, xmlnode *packet, gpointer timeout) 391 static void jabber_pong_cb(JabberStream *js, xmlnode *packet, gpointer timeout)
392 { 392 {
393 g_source_remove(GPOINTER_TO_INT(timeout)); 393 purple_timeout_remove(GPOINTER_TO_INT(timeout));
394 } 394 }
395 395
396 static gboolean jabber_pong_timeout(PurpleConnection *gc) 396 static gboolean jabber_pong_timeout(PurpleConnection *gc)
397 { 397 {
398 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, 398 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,

mercurial