comparison libpurple/connection.c @ 22214:2b426862ffbf

Add accessor and update finch to not touch the internals of PurpleConnection.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 26 Jan 2008 21:13:46 +0000
parents fbdf8136c98c
children aaaff38e144f 8282911d5e17 9ded0fb57e1c
comparison
equal deleted inserted replaced
22213:16ff37f64e29 22214:2b426862ffbf
422 g_return_val_if_fail(gc != NULL, NULL); 422 g_return_val_if_fail(gc != NULL, NULL);
423 423
424 return gc->account; 424 return gc->account;
425 } 425 }
426 426
427 PurplePlugin *
428 purple_connection_get_prpl(const PurpleConnection *gc)
429 {
430 g_return_val_if_fail(gc != NULL, NULL);
431
432 return gc->prpl;
433 }
434
427 const char * 435 const char *
428 purple_connection_get_password(const PurpleConnection *gc) 436 purple_connection_get_password(const PurpleConnection *gc)
429 { 437 {
430 g_return_val_if_fail(gc != NULL, NULL); 438 g_return_val_if_fail(gc != NULL, NULL);
431 439