* #19035: addressbook: use const gchar * parameter

This commit is contained in:
Tristan Matthews
2013-02-14 10:58:15 -05:00
parent 08ddbf7a1f
commit ae4735e700
3 changed files with 4 additions and 5 deletions

View File

@ -27,8 +27,6 @@
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
#include <string.h>
#include <stdio.h>
#include "eds.h"
#include "addressbook.h"
@ -108,6 +106,7 @@ void addressbook_set_search_type(AddrbookSearchType searchType) {
set_current_addressbook_test(map[searchType]);
}
void addressbook_set_current_book(gchar *current) {
void addressbook_set_current_book(const gchar *current) {
g_print("Setting addressbook to %s\n", current);
set_current_addressbook(current);
}

View File

@ -111,7 +111,7 @@ GSList *addressbook_get_books_data();
book_data_t *addressbook_get_book_data_by_uid(gchar *);
void addressbook_set_current_book(gchar *);
void addressbook_set_current_book(const gchar *);
void addressbook_set_search_type(AddrbookSearchType);