diff options
-rw-r--r-- | addressbook/backend/ebook/e-book-util.c | 4 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book-util.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/backend/ebook/e-book-util.c b/addressbook/backend/ebook/e-book-util.c index 40ec0fb446..0fd50f7d5c 100644 --- a/addressbook/backend/ebook/e-book-util.c +++ b/addressbook/backend/ebook/e-book-util.c @@ -265,7 +265,7 @@ e_book_default_book_open (EBook *book, EBookStatus status, gpointer closure) void e_book_load_default_book (EBook *book, EBookCallback open_response, gpointer closure) { - char *uri; + const char *uri; DefaultBookClosure *default_book_closure; g_return_if_fail (book != NULL); @@ -284,7 +284,7 @@ e_book_load_default_book (EBook *book, EBookCallback open_response, gpointer clo } -char* +const char * e_book_get_default_book_uri () { if (!default_book_uri) diff --git a/addressbook/backend/ebook/e-book-util.h b/addressbook/backend/ebook/e-book-util.h index 3ea59df8aa..39eb135332 100644 --- a/addressbook/backend/ebook/e-book-util.h +++ b/addressbook/backend/ebook/e-book-util.h @@ -55,7 +55,7 @@ void e_book_use_default_book (EBookCommonCallback void e_book_load_default_book (EBook *book, EBookCallback open_response, gpointer closure); -char *e_book_get_default_book_uri (void); +const char *e_book_get_default_book_uri (void); /* config database interface. */ EConfigListener *e_book_get_config_database (void); |