[evolution-data-server] Use same type for fields_of_interest arguments
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Use same type for fields_of_interest arguments
- Date: Wed, 27 Jul 2011 05:35:08 +0000 (UTC)
commit f116efd8365bc249780d36718e017fd57ef6647a
Author: Milan Crha <mcrha redhat com>
Date: Wed Jul 27 07:33:07 2011 +0200
Use same type for fields_of_interest arguments
The fields_of_interest argument of e_book_backend_sqlitedb_search()
was of a different type than the one provided by EDataBookView.
.../libedata-book/e-book-backend-sqlitedb.c | 6 +++---
.../libedata-book/e-book-backend-sqlitedb.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index 728adf7..7191463 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -1164,7 +1164,7 @@ static GSList *
book_backend_sqlitedb_search_query (EBookBackendSqliteDB *ebsdb,
const gchar *sql,
const gchar *folderid,
- GSList *fields_of_interest,
+ /* const */ GHashTable *fields_of_interest,
GError **error)
{
GError *err = NULL;
@@ -1242,7 +1242,7 @@ book_backend_sqlitedb_search_full (EBookBackendSqliteDB *ebsdb, const gchar *sex
* @ebsdb:
* @folderid:
* @sexp: search expression.
- * &fields_of_interest: a #GList containing the names of fields to return, or NULL for all.
+ * @fields_of_interest: a #GHashTable containing the names of fields to return, or NULL for all.
* At the moment if this is non-null, the vcard will be populated with summary fields, else it would return the
* whole vcard if its stored in the db. [not implemented fully]
* @error:
@@ -1258,7 +1258,7 @@ GSList *
e_book_backend_sqlitedb_search (EBookBackendSqliteDB *ebsdb,
const gchar *folderid,
const gchar *sexp,
- GSList *fields_of_interest,
+ /* const */ GHashTable *fields_of_interest,
GError **error)
{
GSList *search_contacts = NULL;
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.h b/addressbook/libedata-book/e-book-backend-sqlitedb.h
index 78c66e4..c7d0306 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.h
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.h
@@ -113,7 +113,7 @@ gchar * e_book_backend_sqlitedb_get_vcard_string
GSList * e_book_backend_sqlitedb_search (EBookBackendSqliteDB *ebsdb,
const gchar *folderid,
const gchar *sexp,
- GSList *fields_of_interest,
+ /* const */ GHashTable *fields_of_interest,
GError **error);
GSList * e_book_backend_sqlitedb_search_uids
(EBookBackendSqliteDB *ebsdb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]