diff options
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/e-book-util.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/addressbook/backend/ebook/e-book-util.c b/addressbook/backend/ebook/e-book-util.c index 1d1106e8f2..1c79ea5d71 100644 --- a/addressbook/backend/ebook/e-book-util.c +++ b/addressbook/backend/ebook/e-book-util.c @@ -151,8 +151,6 @@ simple_query_new (EBook *book, const char *query, EBookSimpleQueryCallback cb, g static void simple_query_free (SimpleQueryInfo *sq) { - GList *i; - /* Remove ourselves from the EBook's pending list. */ book_remove_simple_query (sq->book, sq); @@ -271,7 +269,7 @@ e_book_simple_query (EBook *book, const char *query, EBookSimpleQueryCallback cb #ifdef USE_WORKAROUND gtk_timeout_add (50, WORKAROUND_try_queue, NULL); #else - e_book_get_book_view (book, query, simple_query_book_view_cb, sq); + e_book_get_book_view (book, (gchar *) query, simple_query_book_view_cb, sq); #endif return sq->tag; @@ -426,8 +424,6 @@ e_book_name_and_email_query (EBook *book, } else return 0; - g_message ("query: %s", query); - info = g_new0 (NameEmailQueryInfo, 1); info->name = g_strdup (name); info->email = g_strdup (email); |