From c24038c4f62f37b89d1bda9542ca5ccc843d4ea0 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 27 May 2011 15:23:07 +0200 Subject: Bug #646109 - Fix use of include to make sure translations work --- addressbook/gui/contact-editor/e-contact-editor-fullname.c | 3 +++ addressbook/gui/contact-editor/e-contact-editor.c | 2 ++ addressbook/gui/contact-editor/e-contact-quick-add.c | 3 +++ addressbook/gui/contact-editor/test-editor.c | 4 +++- addressbook/gui/contact-list-editor/e-contact-list-editor.c | 2 ++ addressbook/gui/contact-list-editor/e-contact-list-model.c | 3 +++ addressbook/gui/merging/eab-contact-compare.c | 3 +++ addressbook/gui/merging/eab-contact-merging.c | 2 ++ addressbook/gui/widgets/e-addressbook-model.c | 3 +++ addressbook/gui/widgets/e-addressbook-reflow-adapter.c | 3 +++ addressbook/gui/widgets/e-addressbook-selector.c | 4 ++++ addressbook/gui/widgets/e-addressbook-table-adapter.c | 3 +++ addressbook/gui/widgets/e-addressbook-view.c | 2 ++ addressbook/gui/widgets/e-minicard-label.c | 2 ++ addressbook/gui/widgets/e-minicard-view-widget.c | 2 ++ addressbook/gui/widgets/e-minicard-view.c | 2 ++ addressbook/gui/widgets/e-minicard.c | 3 +++ addressbook/gui/widgets/ea-addressbook-view.c | 2 ++ addressbook/gui/widgets/ea-addressbook.c | 4 ++++ addressbook/gui/widgets/ea-minicard-view.c | 3 +++ addressbook/gui/widgets/ea-minicard.c | 3 +++ addressbook/gui/widgets/eab-gui-util.c | 2 ++ addressbook/gui/widgets/gal-view-minicard.c | 2 ++ addressbook/importers/evolution-csv-importer.c | 3 +++ addressbook/printing/e-contact-print.c | 2 ++ addressbook/printing/test-print.c | 4 +++- addressbook/tools/evolution-addressbook-export-list-cards.c | 2 ++ addressbook/tools/evolution-addressbook-export.c | 2 ++ addressbook/util/eab-book-util.c | 3 +++ 29 files changed, 76 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c index 1ca6014707..21eddb14d2 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c +++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include "e-util/e-util.h" diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index f6e7f0ff71..4cdf1e2185 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include "eab-editor.h" #include "e-contact-editor.h" diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index cc74968509..44f6354162 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include diff --git a/addressbook/gui/contact-editor/test-editor.c b/addressbook/gui/contact-editor/test-editor.c index 857d6ff291..2f54bd57b1 100644 --- a/addressbook/gui/contact-editor/test-editor.c +++ b/addressbook/gui/contact-editor/test-editor.c @@ -20,7 +20,9 @@ * */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index 2616b84004..212b87f891 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include "e-contact-list-editor.h" #include diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c index 723ce1d093..1a0cc6d0b6 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-model.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c @@ -19,7 +19,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include "e-contact-list-model.h" diff --git a/addressbook/gui/merging/eab-contact-compare.c b/addressbook/gui/merging/eab-contact-compare.c index 82dcf6e8ce..4e226e798c 100644 --- a/addressbook/gui/merging/eab-contact-compare.c +++ b/addressbook/gui/merging/eab-contact-compare.c @@ -21,7 +21,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c index 25a4a47634..49e9968074 100644 --- a/addressbook/gui/merging/eab-contact-merging.c +++ b/addressbook/gui/merging/eab-contact-merging.c @@ -23,7 +23,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include "eab-contact-merging.h" #include "eab-contact-compare.h" diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index 73d6776b11..c2c21bdd78 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include "e-addressbook-model.h" diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index 48daaaaf6b..0561b766b6 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -16,7 +16,10 @@ * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include diff --git a/addressbook/gui/widgets/e-addressbook-selector.c b/addressbook/gui/widgets/e-addressbook-selector.c index a39750c805..76b0e98f74 100644 --- a/addressbook/gui/widgets/e-addressbook-selector.c +++ b/addressbook/gui/widgets/e-addressbook-selector.c @@ -18,6 +18,10 @@ * Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "e-addressbook-selector.h" #include diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c index e60ae924e7..e246118d3a 100644 --- a/addressbook/gui/widgets/e-addressbook-table-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c @@ -19,7 +19,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include "e-addressbook-model.h" diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 8deca495be..321a9fd949 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -21,7 +21,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index fd4e692c69..967853d7b6 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include "e-minicard-label.h" diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c index 3f8dd1ff28..1508e0690f 100644 --- a/addressbook/gui/widgets/e-minicard-view-widget.c +++ b/addressbook/gui/widgets/e-minicard-view-widget.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 880bf92dcb..a00b03816c 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include "e-minicard-view.h" diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index ea91b57be1..98cf1c2f98 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include diff --git a/addressbook/gui/widgets/ea-addressbook-view.c b/addressbook/gui/widgets/ea-addressbook-view.c index f0096e6489..46a54a4154 100644 --- a/addressbook/gui/widgets/ea-addressbook-view.c +++ b/addressbook/gui/widgets/ea-addressbook-view.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include "ea-addressbook-view.h" diff --git a/addressbook/gui/widgets/ea-addressbook.c b/addressbook/gui/widgets/ea-addressbook.c index 8ac2607232..20bca97948 100644 --- a/addressbook/gui/widgets/ea-addressbook.c +++ b/addressbook/gui/widgets/ea-addressbook.c @@ -20,6 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "a11y/ea-factory.h" #include "ea-addressbook.h" diff --git a/addressbook/gui/widgets/ea-minicard-view.c b/addressbook/gui/widgets/ea-minicard-view.c index cc35d577b0..a6cd1f799c 100644 --- a/addressbook/gui/widgets/ea-minicard-view.c +++ b/addressbook/gui/widgets/ea-minicard-view.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include diff --git a/addressbook/gui/widgets/ea-minicard.c b/addressbook/gui/widgets/ea-minicard.c index 9bf6742247..e218286411 100644 --- a/addressbook/gui/widgets/ea-minicard.c +++ b/addressbook/gui/widgets/ea-minicard.c @@ -20,7 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include "ea-minicard.h" diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 280758f26d..ae6467bf87 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/gui/widgets/gal-view-minicard.c b/addressbook/gui/widgets/gal-view-minicard.c index 383a5620d9..6033b34758 100644 --- a/addressbook/gui/widgets/gal-view-minicard.c +++ b/addressbook/gui/widgets/gal-view-minicard.c @@ -23,7 +23,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c index 6d3fd002b3..28d9f2d617 100644 --- a/addressbook/importers/evolution-csv-importer.c +++ b/addressbook/importers/evolution-csv-importer.c @@ -22,7 +22,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 0ddda154fc..05f1101467 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -19,7 +19,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c index bd2f222c67..7747318175 100644 --- a/addressbook/printing/test-print.c +++ b/addressbook/printing/test-print.c @@ -20,7 +20,9 @@ * */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c index 544f2cda9d..15b570e608 100644 --- a/addressbook/tools/evolution-addressbook-export-list-cards.c +++ b/addressbook/tools/evolution-addressbook-export-list-cards.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c index 9c495e5b5f..6d945d48c1 100644 --- a/addressbook/tools/evolution-addressbook-export.c +++ b/addressbook/tools/evolution-addressbook-export.c @@ -20,7 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/addressbook/util/eab-book-util.c b/addressbook/util/eab-book-util.c index 81f4860976..261398d59c 100644 --- a/addressbook/util/eab-book-util.c +++ b/addressbook/util/eab-book-util.c @@ -21,7 +21,10 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif + #include "eab-book-util.h" #include -- cgit v1.2.3