Update user documentation about E_CAL/BOOK_DISABLE_DEPRECATED
authorMilan Crha <mcrha@redhat.com>
Fri, 9 Jul 2010 14:18:57 +0000 (16:18 +0200)
committerMilan Crha <mcrha@redhat.com>
Fri, 9 Jul 2010 14:18:57 +0000 (16:18 +0200)
addressbook/libebook/e-book.c
calendar/libecal/e-cal.c
docs/reference/addressbook/libebook/Makefile.am
docs/reference/addressbook/libedata-book/Makefile.am
docs/reference/calendar/libecal/Makefile.am
docs/reference/calendar/libedata-cal/Makefile.am

index 296fc65..d489253 100644 (file)
  * Author: Ross Burton <ross@linux.intel.com>
  */
 
+/**
+ * SECTION:e-book
+ *
+ * The old asynchronous API was deprecated since 3.0 and is replaced with
+ * their equivalents with an _ex suffix, which has a detailed #GError
+ * structure in the asynchronous callback, instead of a status code only.
+ *
+ * As an example, e_book_async_open() is replaced by e_book_async_open_ex().
+ */
+
 #include <config.h>
 #include <unistd.h>
 #include <string.h>
index a419e60..6d28626 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:e-cal
+ *
+ * The old signal "cal-opened" is deprecated since 3.0 and is replaced with
+ * its equivalent "cal_opened_ex", which has a detailed #GError structure
+ * as a parameter, instead of a status code only.
+ */
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
index bf0e0ef..084b167 100644 (file)
@@ -5,7 +5,7 @@ DOC_MODULE = libebook
 DOC_MAIN_SGML_FILE = libebook-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
+SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED|E_BOOK_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir).
 DOC_SOURCE_DIR = $(top_srcdir)/addressbook/libebook
index daa1752..ea5a38c 100644 (file)
@@ -5,7 +5,7 @@ DOC_MODULE = libedata-book
 DOC_MAIN_SGML_FILE = libedata-book-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
+SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED|E_BOOK_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir).
 DOC_SOURCE_DIR = $(top_srcdir)/addressbook/libedata-book
index 1624e11..d988f39 100644 (file)
@@ -5,7 +5,7 @@ DOC_MODULE = libecal
 DOC_MAIN_SGML_FILE = libecal-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
+SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED|E_CAL_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir).
 DOC_SOURCE_DIR = $(top_srcdir)/calendar/libecal
index 226edec..10ed038 100644 (file)
@@ -9,7 +9,7 @@ HTML_IMAGES=
 DOC_MAIN_SGML_FILE = libedata-cal-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
+SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED|E_CAL_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir).
 DOC_SOURCE_DIR = $(top_srcdir)/calendar/libedata-cal