# HG changeset patch # User Christian Hammond # Date 1054536074 0 # Node ID c52a97f3739eff21eeb96cbe5aac415a84e38818 # Parent 2216abc2d421bc4042bb384eaabb957a86b064eb [gaim-migrate @ 6068] Fixed these function names. committer: Tailor Script diff -r 2216abc2d421 -r c52a97f3739e src/accountopt.c --- a/src/accountopt.c Mon Jun 02 06:39:09 2003 +0000 +++ b/src/accountopt.c Mon Jun 02 06:41:14 2003 +0000 @@ -223,7 +223,15 @@ } const char * -gaim_account_split_get_default_value(const GaimAccountUserSplit *split) +gaim_account_user_split_get_text(const GaimAccountUserSplit *split) +{ + g_return_val_if_fail(split != NULL, NULL); + + return split->text; +} + +const char * +gaim_account_user_split_get_default_value(const GaimAccountUserSplit *split) { g_return_val_if_fail(split != NULL, NULL); @@ -231,7 +239,7 @@ } char -gaim_account_split_get_separator(const GaimAccountUserSplit *split) +gaim_account_user_split_get_separator(const GaimAccountUserSplit *split) { g_return_val_if_fail(split != NULL, 0); diff -r 2216abc2d421 -r c52a97f3739e src/accountopt.h --- a/src/accountopt.h Mon Jun 02 06:39:09 2003 +0000 +++ b/src/accountopt.h Mon Jun 02 06:41:14 2003 +0000 @@ -227,13 +227,22 @@ void gaim_account_user_split_destroy(GaimAccountUserSplit *split); /** + * Returns the text for an account username split. + * + * @param split The account username split. + * + * @return The account username split's text. + */ +const char *gaim_account_user_split_get_text(const GaimAccountUserSplit *split); + +/** * Returns the default string value for an account split. * * @param split The account username split. * * @return The default string. */ -const char *gaim_account_split_get_default_value( +const char *gaim_account_user_split_get_default_value( const GaimAccountUserSplit *split); /** @@ -243,7 +252,7 @@ * * @return The field separator. */ -char gaim_account_split_get_separator(const GaimAccountUserSplit *split); +char gaim_account_user_split_get_separator(const GaimAccountUserSplit *split); /*@}*/