[libegg] Fix use of config.h to make sure translations work



commit 73d3e395005dd86b46fa56c7d51f62d85dc2092d
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 30 09:51:13 2011 +0200

    Fix use of config.h to make sure translations work
    
    Fixes bug 646204.

 libegg/datetime/egg-datetime.c                  |    4 ++++
 libegg/fileformatchooser/eggfileformatchooser.c |    5 +++++
 libegg/treeviewutils/eggtreemodelfilter.c       |    4 ++++
 libegg/treeviewutils/eggtreeviewstate.c         |    4 ++++
 libegg/wrapbox/eggwrapbox.c                     |    4 ++++
 5 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/libegg/datetime/egg-datetime.c b/libegg/datetime/egg-datetime.c
index 331fcbb..af0f762 100644
--- a/libegg/datetime/egg-datetime.c
+++ b/libegg/datetime/egg-datetime.c
@@ -20,6 +20,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <libintl.h>
 
 #include <stdio.h>
diff --git a/libegg/fileformatchooser/eggfileformatchooser.c b/libegg/fileformatchooser/eggfileformatchooser.c
index bbbc720..2234606 100644
--- a/libegg/fileformatchooser/eggfileformatchooser.c
+++ b/libegg/fileformatchooser/eggfileformatchooser.c
@@ -16,6 +16,11 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "eggfileformatchooser.h"
 #include "egg-macros.h"
 
diff --git a/libegg/treeviewutils/eggtreemodelfilter.c b/libegg/treeviewutils/eggtreemodelfilter.c
index fbf51de..152df25 100644
--- a/libegg/treeviewutils/eggtreemodelfilter.c
+++ b/libegg/treeviewutils/eggtreemodelfilter.c
@@ -18,6 +18,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "eggtreemodelfilter.h"
 #include <gtk/gtksignal.h>
 #include <string.h>
diff --git a/libegg/treeviewutils/eggtreeviewstate.c b/libegg/treeviewutils/eggtreeviewstate.c
index 427b0d7..a70e397 100644
--- a/libegg/treeviewutils/eggtreeviewstate.c
+++ b/libegg/treeviewutils/eggtreeviewstate.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "eggtreeviewstate.h"
 #include <string.h>
 #include <stdlib.h>
diff --git a/libegg/wrapbox/eggwrapbox.c b/libegg/wrapbox/eggwrapbox.c
index 08618f0..6f900af 100644
--- a/libegg/wrapbox/eggwrapbox.c
+++ b/libegg/wrapbox/eggwrapbox.c
@@ -40,6 +40,10 @@
  * Unlike a GtkTable, the child widgets do not need to align in a grid.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "eggwrapbox.h"
 
 #define P_(msgid) (msgid)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]