changeset 5654:c52a97f3739e

[gaim-migrate @ 6068] Fixed these function names. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 06:41:14 +0000
parents 2216abc2d421
children 8fa4a0d756a0
files src/accountopt.c src/accountopt.h
diffstat 2 files changed, 21 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
 
--- 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);
 
 /*@}*/