diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-08-14 14:51:13 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-08-14 14:51:13 +0800 |
commit | 804a46b77ed71f98610e78cfff64e2b938e685a1 (patch) | |
tree | 0e474ce6f5b0d66a880425fadd66aebe55686d9b /addressbook/gui | |
parent | d261f1e17b9af3e909f95477e1f3c90020e5c218 (diff) | |
download | gsoc2013-evolution-804a46b77ed71f98610e78cfff64e2b938e685a1.tar.gz gsoc2013-evolution-804a46b77ed71f98610e78cfff64e2b938e685a1.tar.zst gsoc2013-evolution-804a46b77ed71f98610e78cfff64e2b938e685a1.zip |
Fixed two const warnings here.
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
(addressbook_query_changed): Fixed two const warnings here.
* printing/e-contact-print-envelope.c,
printing/e-contact-print-envelope.h: Fixed some missing includes
here.
svn path=/trunk/; revision=11994
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 03744c266e..d523c1fc4a 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -657,7 +657,8 @@ static void addressbook_query_changed (ESearchBar *esb, AddressbookView *view) { ECategoriesMasterList *master_list; - char *search_word, *search_query, *category_name; + char *search_word, *search_query; + const char *category_name; int search_type, subopt; gtk_object_get(GTK_OBJECT(esb), @@ -799,7 +800,7 @@ addressbook_factory_new_control (void) for (i=0; i<N; ++i) { subitems[i].id = i; - subitems[i].text = e_categories_master_list_nth (master_list, i); + subitems[i].text = (char *) e_categories_master_list_nth (master_list, i); } subitems[N].id = -1; subitems[N].text = NULL; |