[atkmm] Document: get_document_type(): Really use the deprecated option.



commit 99ca7128c8b15d0f4fa7eefff1166c68b85af50b
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jun 29 09:59:35 2015 +0200

    Document: get_document_type(): Really use the deprecated option.

 atk/src/document.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atk/src/document.hg b/atk/src/document.hg
index ede1562..82d5931 100644
--- a/atk/src/document.hg
+++ b/atk/src/document.hg
@@ -45,7 +45,7 @@ class Document : public Glib::Interface
   _CLASS_INTERFACE(Document, AtkDocument, ATK_DOCUMENT, AtkDocumentIface)
 public:
 
-  _WRAP_METHOD(Glib::ustring get_document_type() const, atk_document_get_document_type, "Please use 
get_attribute() to ask for the document type if it applies.")
+  _WRAP_METHOD(Glib::ustring get_document_type() const, atk_document_get_document_type, deprecated "Please 
use get_attribute() to ask for the document type if it applies.")
   _WRAP_METHOD(gpointer get_document(), atk_document_get_document, deprecated "Document is already a 
representation of the document. Use it directly, or one of its children, as an instance of the DOM.")
 
   _IGNORE(atk_document_get_locale)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]