From 804a46b77ed71f98610e78cfff64e2b938e685a1 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 14 Aug 2001 06:51:13 +0000 Subject: Fixed two const warnings here. 2001-08-14 Christopher James Lahey * 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 --- addressbook/ChangeLog | 9 +++++++++ addressbook/gui/component/addressbook.c | 5 +++-- addressbook/printing/e-contact-print-envelope.c | 6 +++++- addressbook/printing/e-contact-print-envelope.h | 1 + 4 files changed, 18 insertions(+), 3 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 136ff53789..4aede6ab15 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,12 @@ +2001-08-14 Christopher James Lahey + + * 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. + 2001-08-14 Christopher James Lahey * backend/ebook/e-book-view.c (add_book_iterator): Call 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 +#include "addressbook/printing/e-contact-print-envelope.h" +#include +#include +#include #include #include #include @@ -28,7 +33,6 @@ #include #include "addressbook/backend/ebook/e-card.h" #include "addressbook/backend/ebook/e-card-simple.h" -#include "addressbook/printing/e-contact-print-envelope.h" #define ENVELOPE_HEIGHT (72.0 * 4.0) #define ENVELOPE_WIDTH (72.0 * 9.5) diff --git a/addressbook/printing/e-contact-print-envelope.h b/addressbook/printing/e-contact-print-envelope.h index 84238c2c9c..9197d4452d 100644 --- a/addressbook/printing/e-contact-print-envelope.h +++ b/addressbook/printing/e-contact-print-envelope.h @@ -24,6 +24,7 @@ #define E_CONTACT_PRINT_ENVELOPE_H #include +#include #include "e-contact-print-types.h" GtkWidget *e_contact_print_envelope_dialog_new(ECard *card); -- cgit v1.2.3