[gspell/wip/untie-libxml: 5/5] lang_uage_
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell/wip/untie-libxml: 5/5] lang_uage_
- Date: Thu, 10 Dec 2015 18:09:40 +0000 (UTC)
commit c6997128c54abacdf06e63b9ad871cc92c2f4b58
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Dec 10 19:08:20 2015 +0100
lang_uage_
gspell/gspell-language.c | 14 +++++++-------
gspell/gspell-language.h | 17 +++++++++--------
2 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/gspell/gspell-language.c b/gspell/gspell-language.c
index be0f95d..3db324f 100644
--- a/gspell/gspell-language.c
+++ b/gspell/gspell-language.c
@@ -499,30 +499,30 @@ gspell_language_compare (const GspellLanguage *language_a,
/**
* gspell_language_copy:
- * @lang: a #GspellLanguage.
+ * @language: a #GspellLanguage.
*
* Used by language bindings.
*
* Returns: a copy of @lang.
*/
GspellLanguage *
-gspell_language_copy (const GspellLanguage *lang)
+gspell_language_copy (const GspellLanguage *language)
{
- g_return_val_if_fail (lang != NULL, NULL);
+ g_return_val_if_fail (language != NULL, NULL);
- return (GspellLanguage *) lang;
+ return (GspellLanguage *) language;
}
/**
* gspell_language_free:
- * @lang: a #GspellLanguage.
+ * @language: a #GspellLanguage.
*
* Used by language bindings.
*/
void
-gspell_language_free (GspellLanguage *lang)
+gspell_language_free (GspellLanguage *language)
{
- g_return_if_fail (lang != NULL);
+ g_return_if_fail (language != NULL);
}
/* ex:set ts=8 noet: */
diff --git a/gspell/gspell-language.h b/gspell/gspell-language.h
index c483714..f9df49e 100644
--- a/gspell/gspell-language.h
+++ b/gspell/gspell-language.h
@@ -44,17 +44,18 @@ GType gspell_language_get_type (void) G_GNUC_CONST;
const GList * gspell_language_get_available (void);
const GspellLanguage *
- gspell_language_lookup (const gchar *key);
+ gspell_language_lookup (const gchar *language_code);
-const gchar * gspell_language_get_code (const GspellLanguage *lang);
+const gchar * gspell_language_get_code (const GspellLanguage *language);
-const gchar * gspell_language_get_name (const GspellLanguage *lang);
+const gchar * gspell_language_get_name (const GspellLanguage *language);
-/* These should not be used, they are just to make GObject Introspection
- * bindings happy.
- */
-GspellLanguage *gspell_language_copy (const GspellLanguage *lang);
-void gspell_language_free (GspellLanguage *lang);
+gint gspell_language_compare (const GspellLanguage *language_a,
+ const GspellLanguage *language_b);
+
+GspellLanguage *gspell_language_copy (const GspellLanguage *language);
+
+void gspell_language_free (GspellLanguage *language);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]