[gnome-utils] Add missing #include <config.h> to make translations work



commit 95edffa91ed559515d659187baba6ec7806b251b
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Tue Mar 29 11:11:45 2011 +0200

    Add missing #include <config.h> to make translations work

 baobab/src/baobab-ringschart.c       |    4 ++++
 baobab/src/baobab-treemap.c          |    4 ++++
 gnome-screenshot/screenshot-shadow.c |    4 ++++
 logview/logview-app.c                |    4 ++++
 logview/logview-app.h                |    2 --
 logview/logview-filter-manager.c     |    4 ++++
 logview/logview-filter.c             |    4 ++++
 logview/logview-findbar.c            |    4 ++++
 logview/logview-loglist.c            |    4 ++++
 logview/logview-manager.c            |    4 ++++
 logview/logview-utils.c              |    4 ++++
 logview/tests/test-reader.c          |    4 ++++
 12 files changed, 44 insertions(+), 2 deletions(-)
---
diff --git a/baobab/src/baobab-ringschart.c b/baobab/src/baobab-ringschart.c
index 40b24f6..1794432 100644
--- a/baobab/src/baobab-ringschart.c
+++ b/baobab/src/baobab-ringschart.c
@@ -31,6 +31,10 @@
  *   Alejandro Garcia <alex igalia com>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <math.h>
 #include <string.h>
 
diff --git a/baobab/src/baobab-treemap.c b/baobab/src/baobab-treemap.c
index 7262b81..3acbf83 100644
--- a/baobab/src/baobab-treemap.c
+++ b/baobab/src/baobab-treemap.c
@@ -25,6 +25,10 @@
  *   Eduardo Lima Mitev <elima igalia com>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <math.h>
 #include <string.h>
 #include <gtk/gtk.h>
diff --git a/gnome-screenshot/screenshot-shadow.c b/gnome-screenshot/screenshot-shadow.c
index 2daddaa..abb0a48 100644
--- a/gnome-screenshot/screenshot-shadow.c
+++ b/gnome-screenshot/screenshot-shadow.c
@@ -19,6 +19,10 @@
 
 /* Shadow code from anders */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "screenshot-shadow.h"
 #include <math.h>
 
diff --git a/logview/logview-app.c b/logview/logview-app.c
index 6ce64bb..f861b82 100644
--- a/logview/logview-app.c
+++ b/logview/logview-app.c
@@ -20,6 +20,10 @@
 
 /* logview-app.c */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "logview-app.h"
 
 #include "logview-manager.h"
diff --git a/logview/logview-app.h b/logview/logview-app.h
index 0efc553..d5c1597 100644
--- a/logview/logview-app.h
+++ b/logview/logview-app.h
@@ -21,8 +21,6 @@
 #ifndef __LOGVIEW_APP_H__
 #define __LOGVIEW_APP_H__
 
-#include "config.h"
-
 #include <glib-object.h>
 
 G_BEGIN_DECLS
diff --git a/logview/logview-filter-manager.c b/logview/logview-filter-manager.c
index 58aa6e3..68247aa 100644
--- a/logview/logview-filter-manager.c
+++ b/logview/logview-filter-manager.c
@@ -17,6 +17,10 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "logview-filter-manager.h"
 #include "logview-prefs.h"
 #include <gtk/gtk.h>
diff --git a/logview/logview-filter.c b/logview/logview-filter.c
index 46314d0..9bef5ac 100644
--- a/logview/logview-filter.c
+++ b/logview/logview-filter.c
@@ -17,6 +17,10 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "logview-filter.h"
 
 enum {
diff --git a/logview/logview-findbar.c b/logview/logview-findbar.c
index 3deb829..cbba5f0 100644
--- a/logview/logview-findbar.c
+++ b/logview/logview-findbar.c
@@ -19,6 +19,10 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <gdk/gdkkeysyms.h>
diff --git a/logview/logview-loglist.c b/logview/logview-loglist.c
index 5f87902..52e2034 100644
--- a/logview/logview-loglist.c
+++ b/logview/logview-loglist.c
@@ -19,6 +19,10 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 
diff --git a/logview/logview-manager.c b/logview/logview-manager.c
index 1ce07d2..a46fe6b 100644
--- a/logview/logview-manager.c
+++ b/logview/logview-manager.c
@@ -21,6 +21,10 @@
 
 /* logview-manager.c */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "logview-manager.h"
 
 #include <glib/gi18n.h>
diff --git a/logview/logview-utils.c b/logview/logview-utils.c
index 793a89d..82070b1 100644
--- a/logview/logview-utils.c
+++ b/logview/logview-utils.c
@@ -19,6 +19,10 @@
  * Foundation, Inc., 551 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define _XOPEN_SOURCE
 #include <time.h>
 #include <string.h>
diff --git a/logview/tests/test-reader.c b/logview/tests/test-reader.c
index a04d683..c5df178 100644
--- a/logview/tests/test-reader.c
+++ b/logview/tests/test-reader.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "../logview-log.h"
 #include "../logview-utils.h"
 



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