[evince/wip/app] libdocument: Use the new deprecation macros



commit 3b1f249fb7b90032d1f7cec447c73e90e9528fb5
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 13 01:05:15 2012 +0200

    libdocument: Use the new deprecation macros
    
    Use our own macros instead of G_GNUC_DEPRECATED.

 libdocument/ev-backends-manager.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libdocument/ev-backends-manager.h b/libdocument/ev-backends-manager.h
index ad818d1..3813987 100644
--- a/libdocument/ev-backends-manager.h
+++ b/libdocument/ev-backends-manager.h
@@ -27,6 +27,7 @@
 #include <glib.h>
 
 #include "ev-document.h"
+#include "ev-macros.h"
 
 G_BEGIN_DECLS
 
@@ -37,9 +38,9 @@ typedef struct _EvTypeInfo {
 
 EvDocument  *ev_backends_manager_get_document             (const gchar *mime_type);
 
-G_GNUC_DEPRECATED
+EV_DEPRECATED
 const gchar *ev_backends_manager_get_document_module_name (EvDocument  *document);
-G_GNUC_DEPRECATED
+EV_DEPRECATED
 EvTypeInfo  *ev_backends_manager_get_document_type_info   (EvDocument  *document);
 
 GList       *ev_backends_manager_get_all_types_info       (void);



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