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



commit c697bb22fbb2f0c9fb586ebfe395098c39b95cd9
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 eeb9d96..c5e970d 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -5168,7 +5168,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.
@@ -5183,7 +5183,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;
@@ -5192,17 +5192,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]