mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #19035: addressbook: use const gchar * parameter
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user