[devhelp] DhLanguage: remove deprecated function
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] DhLanguage: remove deprecated function
- Date: Sun, 30 Apr 2017 09:21:17 +0000 (UTC)
commit 5a6f26e66d5cfda40ed349bd01aca687f0b0d44d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Apr 30 11:19:31 2017 +0200
DhLanguage: remove deprecated function
docs/reference/devhelp-sections.txt | 1 -
src/dh-language.c | 14 --------------
src/dh-language.h | 2 --
3 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/docs/reference/devhelp-sections.txt b/docs/reference/devhelp-sections.txt
index 69dc8ac..76e9ae0 100644
--- a/docs/reference/devhelp-sections.txt
+++ b/docs/reference/devhelp-sections.txt
@@ -152,7 +152,6 @@ dh_keyword_model_get_type
<TITLE>DhLanguage</TITLE>
DhLanguage
dh_language_new
-dh_language_free
dh_language_get_name
dh_language_compare
dh_language_compare_by_name
diff --git a/src/dh-language.c b/src/dh-language.c
index dfec449..3e3521b 100644
--- a/src/dh-language.c
+++ b/src/dh-language.c
@@ -54,20 +54,6 @@ dh_language_init (DhLanguage *language)
}
/**
- * dh_language_free:
- * @language: a #DhLanguage object
- *
- * Free memory associated with the language.
- *
- * Deprecated: 3.24: Use g_object_unref() instead.
- */
-void
-dh_language_free (DhLanguage *language)
-{
- g_object_unref (language);
-}
-
-/**
* dh_language_new:
* @name: the name of the language
*
diff --git a/src/dh-language.h b/src/dh-language.h
index 1818479..d1ba0d9 100644
--- a/src/dh-language.h
+++ b/src/dh-language.h
@@ -43,8 +43,6 @@ struct _DhLanguageClass {
GType dh_language_get_type (void) G_GNUC_CONST;
DhLanguage *dh_language_new (const gchar *name);
-G_DEPRECATED_FOR (g_object_unref)
-void dh_language_free (DhLanguage *language);
const gchar *dh_language_get_name (DhLanguage *language);
gint dh_language_compare (DhLanguage *language_a,
DhLanguage *language_b);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]