diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-06-11 17:29:36 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-06-11 17:29:36 +0800 |
commit | 4b58038f453d5d84169611269e57160e65e9f569 (patch) | |
tree | 76b488ec336d61b02dcf14af5b0317027eaeb3a5 /addressbook/backend/ebook/e-card-simple.c | |
parent | 538e971cd862655c725b5b5ba5d020efcd949eef (diff) | |
download | gsoc2013-evolution-4b58038f453d5d84169611269e57160e65e9f569.tar.gz gsoc2013-evolution-4b58038f453d5d84169611269e57160e65e9f569.tar.zst gsoc2013-evolution-4b58038f453d5d84169611269e57160e65e9f569.zip |
Made e_card_simple_get_id return const char *.
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Made e_card_simple_get_id return const char *.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Made
e_card_get_id return const char *.
* gui/component/e-cardlist-model.c (e_cardlist_model_add): Made id
variable const here. Added a break to make it slightly more
efficient.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made
e_minicard_get_card_id return const char *.
svn path=/trunk/; revision=10183
Diffstat (limited to 'addressbook/backend/ebook/e-card-simple.c')
-rw-r--r-- | addressbook/backend/ebook/e-card-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-card-simple.c b/addressbook/backend/ebook/e-card-simple.c index ed10a56685..9eda02e484 100644 --- a/addressbook/backend/ebook/e-card-simple.c +++ b/addressbook/backend/ebook/e-card-simple.c @@ -253,7 +253,7 @@ ECardSimple *e_card_simple_duplicate(ECardSimple *simple) * Returns: a string representing the id of the simple, which is unique * within its book. */ -char * +const char * e_card_simple_get_id (ECardSimple *simple) { if (simple->card) |