aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-05-27 21:23:07 +0800
committerMilan Crha <mcrha@redhat.com>2011-05-27 21:23:07 +0800
commit756c8abcb840b8da588031f4a0d7e1fc979fab70 (patch)
tree919583d7fafd616a7f3645476ad8d91872048c54 /widgets/misc
parent1993a293b1704a09d501c92b938608b115676c0c (diff)
downloadgsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar
gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.gz
gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.bz2
gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.lz
gsoc2013-evolution-756c8abcb840b8da588031f4a0d7e1fc979fab70.tar.xz
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 'widgets/misc')
-rw-r--r--widgets/misc/e-account-combo-box.c4
-rw-r--r--widgets/misc/e-account-manager.c4
-rw-r--r--widgets/misc/e-account-tree-view.c4
-rw-r--r--widgets/misc/e-action-combo-box.c4
-rw-r--r--widgets/misc/e-activity-bar.c4
-rw-r--r--widgets/misc/e-activity-proxy.c4
-rw-r--r--widgets/misc/e-alert-bar.c5
-rw-r--r--widgets/misc/e-attachment-button.c4
-rw-r--r--widgets/misc/e-attachment-dialog.c4
-rw-r--r--widgets/misc/e-attachment-handler-image.c4
-rw-r--r--widgets/misc/e-attachment-handler-sendto.c5
-rw-r--r--widgets/misc/e-attachment-handler.c4
-rw-r--r--widgets/misc/e-attachment-icon-view.c4
-rw-r--r--widgets/misc/e-attachment-paned.c4
-rw-r--r--widgets/misc/e-attachment-store.c5
-rw-r--r--widgets/misc/e-attachment-tree-view.c4
-rw-r--r--widgets/misc/e-attachment-view.c5
-rw-r--r--widgets/misc/e-attachment.c5
-rw-r--r--widgets/misc/e-buffer-tagger.c4
-rw-r--r--widgets/misc/e-canvas-background.c2
-rw-r--r--widgets/misc/e-canvas-utils.c4
-rw-r--r--widgets/misc/e-canvas-vbox.c2
-rw-r--r--widgets/misc/e-canvas.c2
-rw-r--r--widgets/misc/e-charset-combo-box.c4
-rw-r--r--widgets/misc/e-combo-cell-editable.c3
-rw-r--r--widgets/misc/e-focus-tracker.c5
-rw-r--r--widgets/misc/e-hinted-entry.c4
-rw-r--r--widgets/misc/e-hsv-utils.c2
-rw-r--r--widgets/misc/e-image-chooser.c2
-rw-r--r--widgets/misc/e-import-assistant.c4
-rw-r--r--widgets/misc/e-map.c3
-rw-r--r--widgets/misc/e-menu-tool-action.c4
-rw-r--r--widgets/misc/e-menu-tool-button.c4
-rw-r--r--widgets/misc/e-online-button.c4
-rw-r--r--widgets/misc/e-paned.c5
-rw-r--r--widgets/misc/e-picture-gallery.c4
-rw-r--r--widgets/misc/e-popup-action.c4
-rw-r--r--widgets/misc/e-popup-menu.c2
-rw-r--r--widgets/misc/e-port-entry.c5
-rw-r--r--widgets/misc/e-preferences-window.c4
-rw-r--r--widgets/misc/e-preview-pane.c4
-rw-r--r--widgets/misc/e-printable.c2
-rw-r--r--widgets/misc/e-search-bar.c4
-rw-r--r--widgets/misc/e-selectable.c4
-rw-r--r--widgets/misc/e-selection-model-array.c2
-rw-r--r--widgets/misc/e-selection-model-simple.c2
-rw-r--r--widgets/misc/e-selection-model.c2
-rw-r--r--widgets/misc/e-signature-editor.c4
-rw-r--r--widgets/misc/e-signature-manager.c4
-rw-r--r--widgets/misc/e-signature-preview.c4
-rw-r--r--widgets/misc/e-signature-script-dialog.c4
-rw-r--r--widgets/misc/e-signature-tree-view.c4
-rw-r--r--widgets/misc/e-url-entry.h4
-rw-r--r--widgets/misc/e-web-view-preview.c5
-rw-r--r--widgets/misc/e-web-view.c5
-rw-r--r--widgets/misc/ea-calendar-cell.c4
-rw-r--r--widgets/misc/ea-calendar-item.c4
-rw-r--r--widgets/misc/ea-cell-table.c4
-rw-r--r--widgets/misc/ea-widgets.c4
59 files changed, 210 insertions, 14 deletions
diff --git a/widgets/misc/e-account-combo-box.c b/widgets/misc/e-account-combo-box.c
index e8b0bee6c5..a649df5f8b 100644
--- a/widgets/misc/e-account-combo-box.c
+++ b/widgets/misc/e-account-combo-box.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-account-combo-box.h"
#include <string.h>
diff --git a/widgets/misc/e-account-manager.c b/widgets/misc/e-account-manager.c
index b252690c06..e4ee68736a 100644
--- a/widgets/misc/e-account-manager.c
+++ b/widgets/misc/e-account-manager.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-account-manager.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-account-tree-view.c b/widgets/misc/e-account-tree-view.c
index 7dba811977..18c39dccec 100644
--- a/widgets/misc/e-account-tree-view.c
+++ b/widgets/misc/e-account-tree-view.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-account-tree-view.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-action-combo-box.c b/widgets/misc/e-action-combo-box.c
index 9554a59b77..d34409b5fd 100644
--- a/widgets/misc/e-action-combo-box.c
+++ b/widgets/misc/e-action-combo-box.c
@@ -18,6 +18,10 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-action-combo-box.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-activity-bar.c b/widgets/misc/e-activity-bar.c
index 44e169ffc1..5407814ab6 100644
--- a/widgets/misc/e-activity-bar.c
+++ b/widgets/misc/e-activity-bar.c
@@ -16,6 +16,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-activity-bar.h"
#define FEEDBACK_PERIOD 1 /* seconds */
diff --git a/widgets/misc/e-activity-proxy.c b/widgets/misc/e-activity-proxy.c
index 91dd5765ea..f34807cba0 100644
--- a/widgets/misc/e-activity-proxy.c
+++ b/widgets/misc/e-activity-proxy.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-activity-proxy.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-alert-bar.c b/widgets/misc/e-alert-bar.c
index 3ff4649079..7ec731e90d 100644
--- a/widgets/misc/e-alert-bar.c
+++ b/widgets/misc/e-alert-bar.c
@@ -16,9 +16,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-alert-bar.h"
-#include <config.h>
#include <glib/gi18n-lib.h>
/* GTK_ICON_SIZE_DIALOG is a tad too big. */
diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c
index f5ff2d0865..88c965e787 100644
--- a/widgets/misc/e-attachment-button.c
+++ b/widgets/misc/e-attachment-button.c
@@ -21,6 +21,10 @@
/* Much of the popup menu logic here was ripped from GtkMenuToolButton. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-button.h"
struct _EAttachmentButtonPrivate {
diff --git a/widgets/misc/e-attachment-dialog.c b/widgets/misc/e-attachment-dialog.c
index 90641078df..384322e39c 100644
--- a/widgets/misc/e-attachment-dialog.c
+++ b/widgets/misc/e-attachment-dialog.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-dialog.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-attachment-handler-image.c b/widgets/misc/e-attachment-handler-image.c
index 16046b90fd..a66aa1d5a6 100644
--- a/widgets/misc/e-attachment-handler-image.c
+++ b/widgets/misc/e-attachment-handler-image.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-handler-image.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-attachment-handler-sendto.c b/widgets/misc/e-attachment-handler-sendto.c
index 2694e3d07a..f0fe698713 100644
--- a/widgets/misc/e-attachment-handler-sendto.c
+++ b/widgets/misc/e-attachment-handler-sendto.c
@@ -18,9 +18,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-handler-sendto.h"
-#include <config.h>
#include <errno.h>
#include <glib/gi18n-lib.h>
diff --git a/widgets/misc/e-attachment-handler.c b/widgets/misc/e-attachment-handler.c
index 7f68331acb..054cd24a1e 100644
--- a/widgets/misc/e-attachment-handler.c
+++ b/widgets/misc/e-attachment-handler.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-handler.h"
struct _EAttachmentHandlerPrivate {
diff --git a/widgets/misc/e-attachment-icon-view.c b/widgets/misc/e-attachment-icon-view.c
index d5dd557ce6..9dd782529b 100644
--- a/widgets/misc/e-attachment-icon-view.c
+++ b/widgets/misc/e-attachment-icon-view.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-icon-view.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c
index 406e247eb2..b842aecf8d 100644
--- a/widgets/misc/e-attachment-paned.c
+++ b/widgets/misc/e-attachment-paned.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-paned.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-attachment-store.c b/widgets/misc/e-attachment-store.c
index 696e092b1c..a1e1fa2586 100644
--- a/widgets/misc/e-attachment-store.c
+++ b/widgets/misc/e-attachment-store.c
@@ -19,10 +19,13 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-store.h"
#include <errno.h>
-#include <config.h>
#include <glib/gi18n.h>
#include "e-util/e-util.h"
diff --git a/widgets/misc/e-attachment-tree-view.c b/widgets/misc/e-attachment-tree-view.c
index 7099a7eb5b..529312006f 100644
--- a/widgets/misc/e-attachment-tree-view.c
+++ b/widgets/misc/e-attachment-tree-view.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-tree-view.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index d22ccd5754..98a53406af 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -19,9 +19,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment-view.h"
-#include <config.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index 104ad5c002..5073d582fc 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -19,10 +19,13 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-attachment.h"
#include <errno.h>
-#include <config.h>
#include <glib/gi18n.h>
#include <glib/gstdio.h>
diff --git a/widgets/misc/e-buffer-tagger.c b/widgets/misc/e-buffer-tagger.c
index c6ddd99e0e..cf2944fde8 100644
--- a/widgets/misc/e-buffer-tagger.c
+++ b/widgets/misc/e-buffer-tagger.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c
index 431e0fde6e..10cddb4219 100644
--- a/widgets/misc/e-canvas-background.c
+++ b/widgets/misc/e-canvas-background.c
@@ -22,7 +22,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <math.h>
#include <stdio.h>
diff --git a/widgets/misc/e-canvas-utils.c b/widgets/misc/e-canvas-utils.c
index fda5cd86e8..4a697f8ed2 100644
--- a/widgets/misc/e-canvas-utils.c
+++ b/widgets/misc/e-canvas-utils.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-canvas-utils.h"
void
diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c
index ef9e7f043d..1513e44eb2 100644
--- a/widgets/misc/e-canvas-vbox.c
+++ b/widgets/misc/e-canvas-vbox.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <math.h>
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index e2d0fe7bbf..c5d953b396 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <gtk/gtk.h>
diff --git a/widgets/misc/e-charset-combo-box.c b/widgets/misc/e-charset-combo-box.c
index aecee9b973..a2ec3489f6 100644
--- a/widgets/misc/e-charset-combo-box.c
+++ b/widgets/misc/e-charset-combo-box.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-charset-combo-box.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-combo-cell-editable.c b/widgets/misc/e-combo-cell-editable.c
index f108e71f55..49ce7ce733 100644
--- a/widgets/misc/e-combo-cell-editable.c
+++ b/widgets/misc/e-combo-cell-editable.c
@@ -20,7 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <gdk/gdkkeysyms.h>
#include "e-combo-cell-editable.h"
diff --git a/widgets/misc/e-focus-tracker.c b/widgets/misc/e-focus-tracker.c
index ac4eaf3d21..1e7082b207 100644
--- a/widgets/misc/e-focus-tracker.c
+++ b/widgets/misc/e-focus-tracker.c
@@ -19,9 +19,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-focus-tracker.h"
-#include <config.h>
#include <glib/gi18n-lib.h>
#include <misc/e-selectable.h>
diff --git a/widgets/misc/e-hinted-entry.c b/widgets/misc/e-hinted-entry.c
index 4885896762..21a4fff58e 100644
--- a/widgets/misc/e-hinted-entry.c
+++ b/widgets/misc/e-hinted-entry.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-hinted-entry.h"
struct _EHintedEntryPrivate {
diff --git a/widgets/misc/e-hsv-utils.c b/widgets/misc/e-hsv-utils.c
index 66bf296199..81919a2258 100644
--- a/widgets/misc/e-hsv-utils.c
+++ b/widgets/misc/e-hsv-utils.c
@@ -21,7 +21,9 @@
* 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-hsv-utils.h"
diff --git a/widgets/misc/e-image-chooser.c b/widgets/misc/e-image-chooser.c
index e21d1c6c67..932d4ebc51 100644
--- a/widgets/misc/e-image-chooser.c
+++ b/widgets/misc/e-image-chooser.c
@@ -19,7 +19,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c
index 5d612a9de7..3069692f52 100644
--- a/widgets/misc/e-import-assistant.c
+++ b/widgets/misc/e-import-assistant.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-import-assistant.h"
#include <sys/types.h>
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index 6b90887ffc..ef1d805130 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -22,7 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <math.h>
#include <stdlib.h>
#include <gdk/gdkkeysyms.h>
diff --git a/widgets/misc/e-menu-tool-action.c b/widgets/misc/e-menu-tool-action.c
index 6a6505bf0e..3ed37cb008 100644
--- a/widgets/misc/e-menu-tool-action.c
+++ b/widgets/misc/e-menu-tool-action.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-menu-tool-action.h"
G_DEFINE_TYPE (
diff --git a/widgets/misc/e-menu-tool-button.c b/widgets/misc/e-menu-tool-button.c
index 8661effa31..0c5ef95f33 100644
--- a/widgets/misc/e-menu-tool-button.c
+++ b/widgets/misc/e-menu-tool-button.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-menu-tool-button.h"
G_DEFINE_TYPE (
diff --git a/widgets/misc/e-online-button.c b/widgets/misc/e-online-button.c
index 2b974f9d4c..351413e954 100644
--- a/widgets/misc/e-online-button.c
+++ b/widgets/misc/e-online-button.c
@@ -15,6 +15,10 @@
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-online-button.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-paned.c b/widgets/misc/e-paned.c
index 6740d443b7..1ddb83fdeb 100644
--- a/widgets/misc/e-paned.c
+++ b/widgets/misc/e-paned.c
@@ -19,9 +19,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-paned.h"
-#include <config.h>
#include <glib/gi18n-lib.h>
#define SYNC_REQUEST_NONE 0
diff --git a/widgets/misc/e-picture-gallery.c b/widgets/misc/e-picture-gallery.c
index b4eabe48f3..a657dbf373 100644
--- a/widgets/misc/e-picture-gallery.c
+++ b/widgets/misc/e-picture-gallery.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-util/e-icon-factory.h"
#include "e-picture-gallery.h"
diff --git a/widgets/misc/e-popup-action.c b/widgets/misc/e-popup-action.c
index 334a5127eb..52813c570d 100644
--- a/widgets/misc/e-popup-action.c
+++ b/widgets/misc/e-popup-action.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-popup-action.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c
index 7a74edb84a..d166ac01b4 100644
--- a/widgets/misc/e-popup-menu.c
+++ b/widgets/misc/e-popup-menu.c
@@ -22,7 +22,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <libintl.h>
#include <string.h>
diff --git a/widgets/misc/e-port-entry.c b/widgets/misc/e-port-entry.c
index 5028a41a0e..b00a90f3ec 100644
--- a/widgets/misc/e-port-entry.c
+++ b/widgets/misc/e-port-entry.c
@@ -11,9 +11,12 @@
* Dan Vratil <dvratil@redhat.com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-port-entry.h"
-#include <config.h>
#include <stddef.h>
#include <string.h>
#include <glib.h>
diff --git a/widgets/misc/e-preferences-window.c b/widgets/misc/e-preferences-window.c
index 49ce727cd2..5b329ebb27 100644
--- a/widgets/misc/e-preferences-window.c
+++ b/widgets/misc/e-preferences-window.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-preferences-window.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-preview-pane.c b/widgets/misc/e-preview-pane.c
index 5ae99916de..1a7a319ea4 100644
--- a/widgets/misc/e-preview-pane.c
+++ b/widgets/misc/e-preview-pane.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-preview-pane.h"
#include <gdk/gdkkeysyms.h>
diff --git a/widgets/misc/e-printable.c b/widgets/misc/e-printable.c
index ba8be2669e..a918081480 100644
--- a/widgets/misc/e-printable.c
+++ b/widgets/misc/e-printable.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <gtk/gtk.h>
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index f4709d1e76..db72c5860e 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-search-bar.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-selectable.c b/widgets/misc/e-selectable.c
index 433cd21438..b8e4337fef 100644
--- a/widgets/misc/e-selectable.c
+++ b/widgets/misc/e-selectable.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-selectable.h"
G_DEFINE_INTERFACE (
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c
index e7185a0a3f..a023ea5916 100644
--- a/widgets/misc/e-selection-model-array.c
+++ b/widgets/misc/e-selection-model-array.c
@@ -21,7 +21,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <gtk/gtk.h>
diff --git a/widgets/misc/e-selection-model-simple.c b/widgets/misc/e-selection-model-simple.c
index 829363d400..1bdd99c3eb 100644
--- a/widgets/misc/e-selection-model-simple.c
+++ b/widgets/misc/e-selection-model-simple.c
@@ -21,7 +21,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-util/e-util.h"
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index e41d44e808..4f00369b16 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <gdk/gdkkeysyms.h>
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index 82d88ec7ae..16efaa6d34 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-signature-editor.h"
#include <string.h>
diff --git a/widgets/misc/e-signature-manager.c b/widgets/misc/e-signature-manager.c
index 8c210300ea..9e62c02d6c 100644
--- a/widgets/misc/e-signature-manager.c
+++ b/widgets/misc/e-signature-manager.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-signature-manager.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-signature-preview.c b/widgets/misc/e-signature-preview.c
index c48c929bea..a2c2352efb 100644
--- a/widgets/misc/e-signature-preview.c
+++ b/widgets/misc/e-signature-preview.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-signature-preview.h"
#include <fcntl.h>
diff --git a/widgets/misc/e-signature-script-dialog.c b/widgets/misc/e-signature-script-dialog.c
index 367cc94e13..f864f823c6 100644
--- a/widgets/misc/e-signature-script-dialog.c
+++ b/widgets/misc/e-signature-script-dialog.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-signature-script-dialog.h"
#include <glib/gi18n.h>
diff --git a/widgets/misc/e-signature-tree-view.c b/widgets/misc/e-signature-tree-view.c
index 82346755d2..914b03ec13 100644
--- a/widgets/misc/e-signature-tree-view.c
+++ b/widgets/misc/e-signature-tree-view.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-signature-tree-view.h"
enum {
diff --git a/widgets/misc/e-url-entry.h b/widgets/misc/e-url-entry.h
index e5c83323db..7b50f79f7a 100644
--- a/widgets/misc/e-url-entry.h
+++ b/widgets/misc/e-url-entry.h
@@ -23,10 +23,6 @@
#ifndef _E_URL_ENTRY_H_
#define _E_URL_ENTRY_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/widgets/misc/e-web-view-preview.c b/widgets/misc/e-web-view-preview.c
index d53bdf47d2..763d31329e 100644
--- a/widgets/misc/e-web-view-preview.c
+++ b/widgets/misc/e-web-view-preview.c
@@ -19,9 +19,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-web-view-preview.h"
-#include <config.h>
#include <string.h>
#include <glib/gi18n-lib.h>
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 54bd251a53..0c027431e7 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -16,9 +16,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-web-view.h"
-#include <config.h>
#include <string.h>
#include <glib/gi18n-lib.h>
diff --git a/widgets/misc/ea-calendar-cell.c b/widgets/misc/ea-calendar-cell.c
index cff30af4d8..0d41575a58 100644
--- a/widgets/misc/ea-calendar-cell.c
+++ b/widgets/misc/ea-calendar-cell.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <e-util/e-util.h>
#include "ea-calendar-cell.h"
diff --git a/widgets/misc/ea-calendar-item.c b/widgets/misc/ea-calendar-item.c
index 80eec98409..a3acca0b2a 100644
--- a/widgets/misc/ea-calendar-item.c
+++ b/widgets/misc/ea-calendar-item.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <time.h>
#include <string.h>
diff --git a/widgets/misc/ea-cell-table.c b/widgets/misc/ea-cell-table.c
index b183ef9671..19c4ffb4aa 100644
--- a/widgets/misc/ea-cell-table.c
+++ b/widgets/misc/ea-cell-table.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-cell-table.h"
EaCellTable *
diff --git a/widgets/misc/ea-widgets.c b/widgets/misc/ea-widgets.c
index 9deede235e..1b74d44fd2 100644
--- a/widgets/misc/ea-widgets.c
+++ b/widgets/misc/ea-widgets.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "a11y/ea-factory.h"
#include "ea-calendar-item.h"
#include "ea-widgets.h"