Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/ycht.c @ 32330:a5b556ac1de5
Rename purple_connection_error_reason to purple_connection_error
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 21 Aug 2011 08:00:53 +0000 |
parents | 259bbfb423d4 |
children | fcf841ffd620 |
comparison
equal
deleted
inserted
replaced
32329:5105d0306b2a | 32330:a5b556ac1de5 |
---|---|
283 else if (ret <= 0) { | 283 else if (ret <= 0) { |
284 /* TODO: error handling */ | 284 /* TODO: error handling */ |
285 /* | 285 /* |
286 gchar *tmp = g_strdup_printf(_("Lost connection with server: %s"), | 286 gchar *tmp = g_strdup_printf(_("Lost connection with server: %s"), |
287 g_strerror(errno)); | 287 g_strerror(errno)); |
288 purple_connection_error_reason(purple_account_get_connection(irc->account), | 288 purple_connection_error(purple_account_get_connection(irc->account), |
289 PURPLE_CONNECTION_ERROR_NETWORK_ERROR, tmp); | 289 PURPLE_CONNECTION_ERROR_NETWORK_ERROR, tmp); |
290 g_free(tmp); | 290 g_free(tmp); |
291 */ | 291 */ |
292 return; | 292 return; |
293 } | 293 } |