[evolution-data-server/openismus-work-master: 57/122] EBookBackendSqliteDB: gtk-doc fixup for e_book_backend_sqlitedb_get_locale()



commit 571e6b04f22559ffa5b49978c4d998a9d37048d9
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Jul 30 07:35:41 2013 +0900

    EBookBackendSqliteDB: gtk-doc fixup for e_book_backend_sqlitedb_get_locale()

 .../libedata-book/e-book-backend-sqlitedb.c        |   10 +++++-----
 .../libedata-book/e-book-backend-sqlitedb.h        |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c 
b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index 5b18068..56b1fe0 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -5180,7 +5180,7 @@ e_book_backend_sqlitedb_set_locale (EBookBackendSqliteDB *ebsdb,
  * e_book_backend_sqlitedb_get_locale:
  * @ebsdb: An #EBookBackendSqliteDB
  * @folderid: folder id of the address-book
- * @revision_out: (out) (transfer full): The location to return the current locale
+ * @locale_out: (out) (transfer full): The location to return the current locale
  * @error: A location to store any error that may have occurred
  *
  * Fetches the current locale setting for the address-book indicated by @folderid.
@@ -5195,7 +5195,7 @@ e_book_backend_sqlitedb_set_locale (EBookBackendSqliteDB *ebsdb,
 gboolean
 e_book_backend_sqlitedb_get_locale (EBookBackendSqliteDB *ebsdb,
                                    const gchar          *folderid,
-                                   gchar               **lc_collate_out,
+                                   gchar               **locale_out,
                                    GError              **error)
 {
        gchar *stmt;
@@ -5204,17 +5204,17 @@ e_book_backend_sqlitedb_get_locale (EBookBackendSqliteDB *ebsdb,
 
        g_return_val_if_fail (E_IS_BOOK_BACKEND_SQLITEDB (ebsdb), FALSE);
        g_return_val_if_fail (folderid && folderid[0], FALSE);
-       g_return_val_if_fail (lc_collate_out != NULL && *lc_collate_out == NULL, FALSE);
+       g_return_val_if_fail (locale_out != NULL && *locale_out == NULL, FALSE);
 
        LOCK_MUTEX (&ebsdb->priv->lock);
 
        stmt = sqlite3_mprintf (
                "SELECT lc_collate FROM folders WHERE folder_id = %Q", folderid);
        success = book_backend_sql_exec (
-               ebsdb->priv->db, stmt, get_string_cb, lc_collate_out, error);
+               ebsdb->priv->db, stmt, get_string_cb, locale_out, error);
        sqlite3_free (stmt);
 
-       if (!sqlitedb_set_locale_internal (ebsdb, *lc_collate_out, &local_error)) {
+       if (!sqlitedb_set_locale_internal (ebsdb, *locale_out, &local_error)) {
                g_warning ("Error loading new locale: %s", local_error->message);
                g_clear_error (&local_error);
        }
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.h 
b/addressbook/libedata-book/e-book-backend-sqlitedb.h
index c150947..78d0cbc 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.h
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.h
@@ -317,7 +317,7 @@ gboolean        e_book_backend_sqlitedb_set_locale
 gboolean        e_book_backend_sqlitedb_get_locale
                                                 (EBookBackendSqliteDB *ebsdb,
                                                 const gchar          *folderid,
-                                                gchar               **lc_collate_out,
+                                                gchar               **locale_out,
                                                 GError              **error);
 
 /* Cursor API */


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