aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/addressbook-file/addressbook-file.c4
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c4
-rw-r--r--plugins/audio-inline/audio-inline.c2
-rw-r--r--plugins/bbdb/gaimbuddies.c4
-rw-r--r--plugins/bogo-junk-plugin/bf-junk-filter.c2
-rw-r--r--plugins/caldav/caldav-browse-server.c2
-rw-r--r--plugins/caldav/caldav-source.c2
-rw-r--r--plugins/calendar-file/calendar-file.c4
-rw-r--r--plugins/calendar-http/calendar-http.c4
-rw-r--r--plugins/calendar-weather/calendar-weather.c4
-rw-r--r--plugins/contacts-map/contacts-map.c5
-rw-r--r--plugins/default-source/default-source.c4
-rw-r--r--plugins/google-account-setup/google-contacts-source.c3
-rw-r--r--plugins/google-account-setup/google-source.c2
-rw-r--r--plugins/image-inline/image-inline.c2
-rw-r--r--plugins/mail-to-task/mail-to-task.c2
-rw-r--r--plugins/mark-all-read/mark-all-read.c1
-rw-r--r--plugins/prefer-plain/prefer-plain.c2
-rw-r--r--plugins/publish-calendar/publish-format-fb.c4
-rw-r--r--plugins/publish-calendar/publish-format-ical.c4
-rw-r--r--plugins/publish-calendar/publish-location.c4
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c4
-rw-r--r--plugins/save-calendar/format-handler.h4
-rw-r--r--plugins/templates/templates.c4
-rw-r--r--plugins/tnef-attachments/tnef-plugin.c2
-rw-r--r--plugins/vcard-inline/vcard-inline.c2
-rw-r--r--plugins/webdav-account-setup/webdav-contacts-source.c2
27 files changed, 68 insertions, 15 deletions
diff --git a/plugins/addressbook-file/addressbook-file.c b/plugins/addressbook-file/addressbook-file.c
index cb742588e3..6c8922788e 100644
--- a/plugins/addressbook-file/addressbook-file.c
+++ b/plugins/addressbook-file/addressbook-file.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <e-util/e-config.h>
#include <addressbook/gui/widgets/eab-config.h>
#include <libedataserver/e-source.h>
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c
index e21dd94498..5c842d156d 100644
--- a/plugins/attachment-reminder/attachment-reminder.c
+++ b/plugins/attachment-reminder/attachment-reminder.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <string.h>
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index a454709757..507bc953e9 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <gtk/gtk.h>
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index 4056793963..23be827182 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -29,6 +29,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
diff --git a/plugins/bogo-junk-plugin/bf-junk-filter.c b/plugins/bogo-junk-plugin/bf-junk-filter.c
index 7d479ce611..97855086b2 100644
--- a/plugins/bogo-junk-plugin/bf-junk-filter.c
+++ b/plugins/bogo-junk-plugin/bf-junk-filter.c
@@ -22,7 +22,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <signal.h>
diff --git a/plugins/caldav/caldav-browse-server.c b/plugins/caldav/caldav-browse-server.c
index 00bcdcfebc..9efa6b126e 100644
--- a/plugins/caldav/caldav-browse-server.c
+++ b/plugins/caldav/caldav-browse-server.c
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <glib/gi18n-lib.h>
diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c
index ec15c70453..4b6cae1f59 100644
--- a/plugins/caldav/caldav-source.c
+++ b/plugins/caldav/caldav-source.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <glib/gi18n-lib.h>
diff --git a/plugins/calendar-file/calendar-file.c b/plugins/calendar-file/calendar-file.c
index df1d5b3306..f162914dd8 100644
--- a/plugins/calendar-file/calendar-file.c
+++ b/plugins/calendar-file/calendar-file.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <e-util/e-config.h>
#include <e-util/e-plugin-util.h>
diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c
index 658f93d0e0..43670f5cbc 100644
--- a/plugins/calendar-http/calendar-http.c
+++ b/plugins/calendar-http/calendar-http.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <e-util/e-config.h>
#include <e-util/e-plugin-util.h>
diff --git a/plugins/calendar-weather/calendar-weather.c b/plugins/calendar-weather/calendar-weather.c
index 73ab8c8b3f..6c03da3b0a 100644
--- a/plugins/calendar-weather/calendar-weather.c
+++ b/plugins/calendar-weather/calendar-weather.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <e-util/e-config.h>
#include <e-util/e-icon-factory.h>
diff --git a/plugins/contacts-map/contacts-map.c b/plugins/contacts-map/contacts-map.c
index d1954297fd..91433f71d4 100644
--- a/plugins/contacts-map/contacts-map.c
+++ b/plugins/contacts-map/contacts-map.c
@@ -19,6 +19,11 @@
* Copyright (C) 2009 Cedric Bosdonnat (http://cedric.bosdonnat.free.fr)
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "geo-utils.h"
#include <glib/gi18n.h>
diff --git a/plugins/default-source/default-source.c b/plugins/default-source/default-source.c
index a938239808..770dc25852 100644
--- a/plugins/default-source/default-source.c
+++ b/plugins/default-source/default-source.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <e-util/e-config.h>
diff --git a/plugins/google-account-setup/google-contacts-source.c b/plugins/google-account-setup/google-contacts-source.c
index 46f0d4362c..ee6154e5f9 100644
--- a/plugins/google-account-setup/google-contacts-source.c
+++ b/plugins/google-account-setup/google-contacts-source.c
@@ -18,7 +18,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <string.h>
#include <glib/gi18n-lib.h>
diff --git a/plugins/google-account-setup/google-source.c b/plugins/google-account-setup/google-source.c
index 335aece2e5..f0290246a9 100644
--- a/plugins/google-account-setup/google-source.c
+++ b/plugins/google-account-setup/google-source.c
@@ -23,7 +23,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <string.h>
diff --git a/plugins/image-inline/image-inline.c b/plugins/image-inline/image-inline.c
index 994726d47b..edb527c3a6 100644
--- a/plugins/image-inline/image-inline.c
+++ b/plugins/image-inline/image-inline.c
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <stdlib.h>
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 1deca6d4f1..3ebc818013 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -25,7 +25,7 @@
/* Convert a mail message into a task */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <glib/gi18n-lib.h>
diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c
index 10ea043fee..4db7515abf 100644
--- a/plugins/mark-all-read/mark-all-read.c
+++ b/plugins/mark-all-read/mark-all-read.c
@@ -24,6 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+
#include <string.h>
#include <glib.h>
#include <gtk/gtk.h>
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index 71bcd41f56..ce51ffeefd 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <gtk/gtk.h>
diff --git a/plugins/publish-calendar/publish-format-fb.c b/plugins/publish-calendar/publish-format-fb.c
index 97c90080fe..2f9b0626cf 100644
--- a/plugins/publish-calendar/publish-format-fb.c
+++ b/plugins/publish-calendar/publish-format-fb.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <time.h>
#include <glib/gi18n.h>
diff --git a/plugins/publish-calendar/publish-format-ical.c b/plugins/publish-calendar/publish-format-ical.c
index 30312304e0..b4b5451a2f 100644
--- a/plugins/publish-calendar/publish-format-ical.c
+++ b/plugins/publish-calendar/publish-format-ical.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
diff --git a/plugins/publish-calendar/publish-location.c b/plugins/publish-calendar/publish-location.c
index 8db5ccb1b1..af539ddd05 100644
--- a/plugins/publish-calendar/publish-location.c
+++ b/plugins/publish-calendar/publish-location.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "publish-location.h"
#include <libxml/tree.h>
#include <gconf/gconf-client.h>
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c
index 9c49dcb104..ca6ade1a4e 100644
--- a/plugins/publish-calendar/url-editor-dialog.c
+++ b/plugins/publish-calendar/url-editor-dialog.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "url-editor-dialog.h"
#include <libedataserverui/e-passwords.h>
#include <libedataserver/e-url.h>
diff --git a/plugins/save-calendar/format-handler.h b/plugins/save-calendar/format-handler.h
index 7c697725cd..24df0a16cc 100644
--- a/plugins/save-calendar/format-handler.h
+++ b/plugins/save-calendar/format-handler.h
@@ -20,10 +20,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <glib.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index 052ca898c5..57efaba1c5 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <glib.h>
#include <glib/gi18n.h>
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index 0a87418f01..1e600ff405 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
/* We include gi18n-lib.h so that we have strings translated directly for this package */
diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c
index c4ab567b22..062f21e598 100644
--- a/plugins/vcard-inline/vcard-inline.c
+++ b/plugins/vcard-inline/vcard-inline.c
@@ -17,7 +17,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <gtk/gtk.h>
diff --git a/plugins/webdav-account-setup/webdav-contacts-source.c b/plugins/webdav-account-setup/webdav-contacts-source.c
index 870fa46b13..81cf30c542 100644
--- a/plugins/webdav-account-setup/webdav-contacts-source.c
+++ b/plugins/webdav-account-setup/webdav-contacts-source.c
@@ -19,7 +19,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <string.h>