diff options
author | Dan Winship <danw@src.gnome.org> | 2003-03-31 23:43:20 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-03-31 23:43:20 +0800 |
commit | 80842c9583426f103fd40e73f6fc9ab20631e5cf (patch) | |
tree | 8fd3d1044067a3b746feeb3d06d3bfc1baf43fcc /addressbook | |
parent | 1eccafb6a823b5eeb8b77e90851b53f4f43cee37 (diff) | |
download | gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar.gz gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar.bz2 gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar.lz gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar.xz gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.tar.zst gsoc2013-evolution-80842c9583426f103fd40e73f6fc9ab20631e5cf.zip |
constify return value
* backend/ebook/e-book-util.c (e_book_get_default_book_uri):
constify return value
svn path=/trunk/; revision=20596
Diffstat (limited to 'addressbook')
-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); |