Deprecate e_book_client_error_create().
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 9 Feb 2013 14:02:53 +0000 (09:02 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 9 Feb 2013 14:02:53 +0000 (09:02 -0500)
Just use the GError API directly.

addressbook/libebook/e-book-client.c
addressbook/libebook/e-book-client.h
docs/reference/addressbook/libebook/libebook-sections.txt

index 85ba55c..79ff390 100644 (file)
@@ -217,6 +217,8 @@ e_book_client_error_to_string (EBookClientError code)
  * Returned pointer should be freed with g_error_free().
  *
  * Since: 3.2
+ *
+ * Deprecated: 3.8: Just use the #GError API directly.
  **/
 GError *
 e_book_client_error_create (EBookClientError code,
index 19334fc..7125fe4 100644 (file)
@@ -117,8 +117,6 @@ struct _EBookClientClass {
 
 GQuark         e_book_client_error_quark       (void) G_GNUC_CONST;
 const gchar *  e_book_client_error_to_string   (EBookClientError code);
-GError *       e_book_client_error_create      (EBookClientError code,
-                                                const gchar *custom_msg);
 
 GType          e_book_client_get_type          (void) G_GNUC_CONST;
 EClient *      e_book_client_connect_sync      (ESource *source,
@@ -312,6 +310,8 @@ gboolean    e_book_client_get_view_sync     (EBookClient *client,
 
 EBookClient *  e_book_client_new               (ESource *source,
                                                 GError **error);
+GError *       e_book_client_error_create      (EBookClientError code,
+                                                const gchar *custom_msg);
 #endif /* E_BOOK_DISABLE_DEPRECATED */
 
 G_END_DECLS
index 7344f52..f0a4f88 100644 (file)
@@ -116,7 +116,6 @@ BOOK_BACKEND_PROPERTY_SUPPORTED_FIELDS
 E_BOOK_CLIENT_ERROR
 EBookClientError
 e_book_client_error_to_string
-e_book_client_error_create
 EBookClient
 e_book_client_connect_sync
 e_book_client_connect
@@ -160,6 +159,7 @@ e_book_client_get_view_sync
 <SUBSECTION Deprecated>
 BOOK_BACKEND_PROPERTY_SUPPORTED_AUTH_METHODS
 e_book_client_new
+e_book_client_error_create
 <SUBSECTION Standard>
 E_BOOK_CLIENT
 E_IS_BOOK_CLIENT