comparison libgaim/connection.c @ 14607:f23506e8f812

[gaim-migrate @ 17335] Get rid of some checks to make sure gc is valid. They shouldn't be necessary (and a lot of them were poorly implemented anyway). Let me know if you notice any crashes. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 22 Sep 2006 05:42:01 +0000
parents f283ebe419e4
children 4124030c3f3a
comparison
equal deleted inserted replaced
14606:a35ed72bf50a 14607:f23506e8f812
426 gaim_connection_error(GaimConnection *gc, const char *text) 426 gaim_connection_error(GaimConnection *gc, const char *text)
427 { 427 {
428 GaimConnectionUiOps *ops; 428 GaimConnectionUiOps *ops;
429 429
430 g_return_if_fail(gc != NULL); 430 g_return_if_fail(gc != NULL);
431 g_return_if_fail(GAIM_CONNECTION_IS_VALID(gc));
432 g_return_if_fail(text != NULL); 431 g_return_if_fail(text != NULL);
433 432
434 /* If we've already got one error, we don't need any more */ 433 /* If we've already got one error, we don't need any more */
435 if (gc->disconnect_timeout) 434 if (gc->disconnect_timeout)
436 return; 435 return;