From 80842c9583426f103fd40e73f6fc9ab20631e5cf Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 31 Mar 2003 15:43:20 +0000 Subject: constify return value * backend/ebook/e-book-util.c (e_book_get_default_book_uri): constify return value svn path=/trunk/; revision=20596 --- addressbook/backend/ebook/e-book-util.c | 4 ++-- addressbook/backend/ebook/e-book-util.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/backend') 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); -- cgit v1.2.3