[evolution-data-server/openismus-work-master: 111/137] EDataBookCursorSqlite: Mark new apis since 3.12 instead of 3.10



commit dee985cba6b7b0e594ee79740c19202ac2aab6ce
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Fri Oct 11 01:29:34 2013 +0200

    EDataBookCursorSqlite: Mark new apis since 3.12 instead of 3.10

 .../libedata-book/e-data-book-cursor-sqlite.c      |    4 +++-
 .../libedata-book/e-data-book-cursor-sqlite.h      |   16 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-cursor-sqlite.c 
b/addressbook/libedata-book/e-data-book-cursor-sqlite.c
index fba6ac1..99bad53 100644
--- a/addressbook/libedata-book/e-data-book-cursor-sqlite.c
+++ b/addressbook/libedata-book/e-data-book-cursor-sqlite.c
@@ -281,7 +281,7 @@ e_data_book_cursor_sqlite_move_by (EDataBookCursor     *cursor,
        EDataBookCursorSqlite *cursor_sqlite;
        EDataBookCursorSqlitePrivate *priv;
        GSList *local_results = NULL, *local_converted_results = NULL, *l;
-       EbSdbCursorOrigin sqlitedb_origin = 0;
+       EbSdbCursorOrigin sqlitedb_origin = EBSDB_CURSOR_ORIGIN_CURRENT;
        gchar *revision = NULL;
        gboolean success = FALSE;
 
@@ -464,6 +464,8 @@ e_data_book_cursor_sqlite_load_locale (EDataBookCursor     *cursor,
  * using the #EBookBackendSqliteDB object.
  *
  * Returns: (transfer full): A newly created #EDataBookCursor, or %NULL if cursor creation failed.
+ *
+ * Since: 3.12
  */
 EDataBookCursor *
 e_data_book_cursor_sqlite_new (EBookBackend         *backend,
diff --git a/addressbook/libedata-book/e-data-book-cursor-sqlite.h 
b/addressbook/libedata-book/e-data-book-cursor-sqlite.h
index 14164f5..88ea577 100644
--- a/addressbook/libedata-book/e-data-book-cursor-sqlite.h
+++ b/addressbook/libedata-book/e-data-book-cursor-sqlite.h
@@ -42,11 +42,27 @@ typedef struct _EDataBookCursorSqlite EDataBookCursorSqlite;
 typedef struct _EDataBookCursorSqliteClass EDataBookCursorSqliteClass;
 typedef struct _EDataBookCursorSqlitePrivate EDataBookCursorSqlitePrivate;
 
+
+/**
+ * EDataBookCursorSqlite:
+ *
+ * An opaque handle for the SQLite cursor instance.
+ *
+ * Since: 3.12
+ */
 struct _EDataBookCursorSqlite {
        EDataBookCursor parent;
        EDataBookCursorSqlitePrivate *priv;
 };
 
+
+/**
+ * EDataBookCursorSqliteClass:
+ *
+ * The SQLite cursor class structure.
+ *
+ * Since: 3.12
+ */
 struct _EDataBookCursorSqliteClass {
        EDataBookCursorClass parent;
 };


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