diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-02-18 20:17:41 +0100 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2013-02-18 23:15:18 +0100 |
commit | 97880727d5147ba38de245d9c551b3c3b09c8a77 (patch) | |
tree | 6c7ed475c497f2052137693fa4eed9f7e6bb0739 | |
parent | 08177bf931e23c1e40c7d848cca6bcee337178ad (diff) | |
download | atk-97880727d5147ba38de245d9c551b3c3b09c8a77.tar.gz |
atkdocument: Deprecate atk_document_get_locale
Deprecated in favor of atk_object_get_object_locale
https://bugzilla.gnome.org/show_bug.cgi?id=694117
-rwxr-xr-x | atk/atkdocument.c | 3 | ||||
-rwxr-xr-x | atk/atkdocument.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/atk/atkdocument.c b/atk/atkdocument.c index a60d32f..26d5420 100755 --- a/atk/atkdocument.c +++ b/atk/atkdocument.c @@ -151,6 +151,9 @@ atk_document_get_document (AtkDocument *document) * a different locale, see atk_text_get_attributes and * atk_image_get_image_locale. * + * Deprecated: This method is deprecated since ATK version + * 2.7.90. Please use atk_object_get_object_locale instead. + * * Returns: a UTF-8 string indicating the POSIX-style LC_MESSAGES * locale of the document content as a whole, or NULL if * the document content does not specify a locale. diff --git a/atk/atkdocument.h b/atk/atkdocument.h index 168a252..685a0f7 100755 --- a/atk/atkdocument.h +++ b/atk/atkdocument.h @@ -70,7 +70,10 @@ GType atk_document_get_type (void); const gchar* atk_document_get_document_type (AtkDocument *document); gpointer atk_document_get_document (AtkDocument *document); +#ifndef ATK_DISABLE_DEPRECATED +G_DEPRECATED const gchar* atk_document_get_locale (AtkDocument *document); +#endif /* ATK_DISABLE_DEPRECATED */ AtkAttributeSet* atk_document_get_attributes (AtkDocument *document); const gchar* atk_document_get_attribute_value (AtkDocument *document, const gchar *attribute_name); |