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



commit f72c4297efbf61f72e8f573686e3b1a699d234c7
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 877224e..b0da558 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]