=?utf-8?q?=5Blibgdata=5D_Bug_660174_=E2=80=94_Deprecate_SWF_export_of_pre?= =?utf-8?q?sentations?=



commit 0360fd97b2af0ba24a9ef54ff9b5a941c293a21b
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Oct 10 22:07:39 2011 +0100

    Bug 660174 â Deprecate SWF export of presentations
    
    SWF export has been deprecated in the protocol and will be disabled, leading
    to HTTP 400 errors.
    
    See: http://googleappsdeveloper.blogspot.com/2011/09/deprecating-swf-exports-of.html
    
    Closes: bgo#660174

 .../documents/gdata-documents-presentation.h       |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-presentation.h b/gdata/services/documents/gdata-documents-presentation.h
index 415fb52..f42ae08 100644
--- a/gdata/services/documents/gdata-documents-presentation.h
+++ b/gdata/services/documents/gdata-documents-presentation.h
@@ -76,8 +76,12 @@ G_BEGIN_DECLS
  * GData protocol specification</ulink>.
  *
  * Since: 0.7.0
+ * Deprecated: SWF export has been deprecated in the protocol due to low demand for it; PDF export (using %GDATA_DOCUMENTS_PRESENTATION_PDF) is
+ * recommended instead. (Since: 0.11.0.)
  **/
+#ifndef LIBGDATA_DISABLE_DEPRECATED
 #define GDATA_DOCUMENTS_PRESENTATION_SWF "swf"
+#endif /* !LIBGDATA_DISABLE_DEPRECATED */
 
 /**
  * GDATA_DOCUMENTS_PRESENTATION_TXT:



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