[evolution-data-server/openismus-work-3-8] EBookBackendSqliteDB: gtk-doc fixup for e_book_backend_sqlitedb_get_locale()



commit 6dce695ba4bc4d37e3592db71926042dbd196861
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 80f2b71..a044851 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -5165,7 +5165,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.
@@ -5180,7 +5180,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;
@@ -5189,17 +5189,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 d1a2185..b058bda 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.h
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.h
@@ -314,7 +314,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]