comparison src/account.c @ 9988:d770673338f4

[gaim-migrate @ 10901] (15:20:15) grim elite: ok.. i just got to make a big #if 0 because the custom away messages aren't setup yet :/ (15:30:01) grim elite: ok i've got it compiling.. couple of warnings yet.. (15:34:24) grim elite: www.reaperworld.com/code/gaim/gaim-2.0.0cvs-oscar_compiles.diff Mark should look this over, but it seems fairly straight forward committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 08 Sep 2004 19:36:04 +0000
parents ab5db2c5da79
children e4d971338093
comparison
equal deleted inserted replaced
9987:5eedb0a9093d 9988:d770673338f4
792 p = gaim_find_prpl(account->protocol_id); 792 p = gaim_find_prpl(account->protocol_id);
793 793
794 return ((p && p->info->name) ? _(p->info->name) : _("Unknown")); 794 return ((p && p->info->name) ? _(p->info->name) : _("Unknown"));
795 } 795 }
796 796
797 const char *
798 gaim_account_get_protocol_name(const GaimAccount *account)
799 {
800 g_return_val_if_fail(account != NULL, NULL);
801
802 GaimPlugin *p = gaim_find_prpl(gaim_account_get_protocol_id(account));
803
804 return ((p && p->info->name) ? _(p->info->name) : _("Unknown"));
805 }
806
797 GaimConnection * 807 GaimConnection *
798 gaim_account_get_connection(const GaimAccount *account) 808 gaim_account_get_connection(const GaimAccount *account)
799 { 809 {
800 g_return_val_if_fail(account != NULL, NULL); 810 g_return_val_if_fail(account != NULL, NULL);
801 811