aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
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/text
parent1993a293b1704a09d501c92b938608b115676c0c (diff)
downloadgsoc2013-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 'widgets/text')
-rw-r--r--widgets/text/e-reflow-model.c3
-rw-r--r--widgets/text/e-reflow.c3
-rw-r--r--widgets/text/e-text-model-repos.c4
-rw-r--r--widgets/text/e-text-model.c2
-rw-r--r--widgets/text/e-text.c2
-rw-r--r--widgets/text/gal-a11y-e-text-factory.c3
-rw-r--r--widgets/text/gal-a11y-e-text.c2
7 files changed, 19 insertions, 0 deletions
diff --git a/widgets/text/e-reflow-model.c b/widgets/text/e-reflow-model.c
index d7a5ffec48..f96d512f1e 100644
--- a/widgets/text/e-reflow-model.c
+++ b/widgets/text/e-reflow-model.c
@@ -20,7 +20,10 @@
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
*/
+
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-util/e-util.h"
diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c
index e6c5768d4e..1b99d6aec7 100644
--- a/widgets/text/e-reflow.c
+++ b/widgets/text/e-reflow.c
@@ -19,7 +19,10 @@
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
+
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <math.h>
#include <string.h>
diff --git a/widgets/text/e-text-model-repos.c b/widgets/text/e-text-model-repos.c
index 206ef3f8c1..0b7a3433fd 100644
--- a/widgets/text/e-text-model-repos.c
+++ b/widgets/text/e-text-model-repos.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-text-model-repos.h"
#define MODEL_CLAMP(model, pos) (CLAMP((pos), 0, strlen((model)->text)))
diff --git a/widgets/text/e-text-model.c b/widgets/text/e-text-model.c
index bb8669d9e8..10f32b1592 100644
--- a/widgets/text/e-text-model.c
+++ b/widgets/text/e-text-model.c
@@ -22,7 +22,9 @@
#undef PARANOID_DEBUGGING
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <ctype.h>
#include <string.h>
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index fe50f85a0c..9c97a6664f 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -35,7 +35,9 @@
* 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <math.h>
#include <ctype.h>
diff --git a/widgets/text/gal-a11y-e-text-factory.c b/widgets/text/gal-a11y-e-text-factory.c
index 0c933c2245..a1ffaa0d90 100644
--- a/widgets/text/gal-a11y-e-text-factory.c
+++ b/widgets/text/gal-a11y-e-text-factory.c
@@ -20,7 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include "text/e-text.h"
#include "gal-a11y-e-text-factory.h"
#include "gal-a11y-e-text.h"
diff --git a/widgets/text/gal-a11y-e-text.c b/widgets/text/gal-a11y-e-text.c
index aeb6e6bf3b..a657543305 100644
--- a/widgets/text/gal-a11y-e-text.c
+++ b/widgets/text/gal-a11y-e-text.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <string.h>