diff options
author | Milan Crha <mcrha@redhat.com> | 2011-05-27 21:23:07 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-05-27 21:23:07 +0800 |
commit | 756c8abcb840b8da588031f4a0d7e1fc979fab70 (patch) | |
tree | 919583d7fafd616a7f3645476ad8d91872048c54 /addressbook | |
parent | 1993a293b1704a09d501c92b938608b115676c0c (diff) | |
download | gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.gz gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.zst gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.zip |
Bug #646109 - Fix use of include <config.h> to make sure translations work
Diffstat (limited to 'addressbook')
29 files changed, 76 insertions, 2 deletions
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 <config.h> +#endif + #include <glib/gi18n.h> #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 <config.h> +#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 <config.h> +#endif + #include <ctype.h> #include <string.h> #include <gtk/gtk.h> 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 <config.h> +#endif #include <stdlib.h> #include <gtk/gtk.h> 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 <config.h> +#endif #include "e-contact-list-editor.h" #include <e-util/e-util-private.h> 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 <config.h> +#endif + #include <string.h> #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 <config.h> +#endif + #include <ctype.h> #include <string.h> #include <libedataserverui/e-book-auth-util.h> 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 <config.h> +#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 <config.h> +#endif + #include <string.h> #include <glib/gi18n.h> #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 <config.h> +#endif + #include <string.h> #include <glib/gi18n.h> 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 <config.h> +#endif + #include "e-addressbook-selector.h" #include <e-util/e-selection.h> 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 <config.h> +#endif + #include <gtk/gtk.h> #include <glib/gi18n.h> #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 <config.h> +#endif #include <glib/gi18n.h> #include <table/e-table.h> 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 <config.h> +#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 <config.h> +#endif #include <gtk/gtk.h> #include <misc/e-canvas-background.h> 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 <config.h> +#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 <config.h> +#endif + #include <string.h> #include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> 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 <config.h> +#endif #include <glib/gi18n.h> #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 <config.h> +#endif + #include <text/e-text.h> #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 <config.h> +#endif + #include <string.h> #include <gtk/gtk.h> #include <glib/gi18n.h> 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 <config.h> +#endif + #include <string.h> #include <glib/gi18n.h> #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 <config.h> +#endif #include <unistd.h> #include <fcntl.h> 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 <config.h> +#endif #include <libxml/parser.h> #include <e-util/e-xml-utils.h> 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 <config.h> +#endif + #include <stdio.h> #include <ctype.h> #include <string.h> 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 <config.h> +#endif #include <ctype.h> #include <sys/types.h> 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 <config.h> +#endif #include <stdlib.h> #include <gtk/gtk.h> 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 <config.h> +#endif #include <string.h> #include <sys/types.h> 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 <config.h> +#endif #include <string.h> #include <glib.h> 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 <config.h> +#endif + #include "eab-book-util.h" #include <string.h> |