[gcalctool/gnome-3-0] Add missing #include <config.h> and mark two strings for translation.
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool/gnome-3-0] Add missing #include <config.h> and mark two strings for translation.
- Date: Wed, 4 May 2011 09:58:54 +0000 (UTC)
commit af2e36ea1e00186216093a167f963edc5c911182
Author: Kjartan Maraas <kmaraas gnome org>
Date: Tue Mar 29 14:47:13 2011 +0200
Add missing #include <config.h> and mark two strings for translation.
src/currency-manager.c | 4 ++++
src/financial.c | 4 ++++
src/gcalctool.c | 4 ++++
src/math-buttons.c | 4 ++++
src/math-converter.c | 4 ++++
src/math-equation.c | 4 ++++
src/math-preferences.c | 4 ++++
src/math-window.c | 4 ++++
src/mp-binary.c | 4 ++++
src/mp-trigonometric.c | 4 ++++
src/mp.c | 4 ++++
src/unit-manager.c | 4 ++++
12 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/src/currency-manager.c b/src/currency-manager.c
index c7687ba..bcfb18f 100644
--- a/src/currency-manager.c
+++ b/src/currency-manager.c
@@ -8,6 +8,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <time.h>
#include <glib.h>
diff --git a/src/financial.c b/src/financial.c
index fa0e33d..b613b0d 100644
--- a/src/financial.c
+++ b/src/financial.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include "financial.h"
diff --git a/src/gcalctool.c b/src/gcalctool.c
index c3349b3..97db1ce 100644
--- a/src/gcalctool.c
+++ b/src/gcalctool.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/math-buttons.c b/src/math-buttons.c
index 86f7c1e..5595519 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -8,6 +8,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include "math-buttons.h"
diff --git a/src/math-converter.c b/src/math-converter.c
index 46e3601..e396698 100644
--- a/src/math-converter.c
+++ b/src/math-converter.c
@@ -8,6 +8,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include "math-converter.h"
diff --git a/src/math-equation.c b/src/math-equation.c
index d12329a..8dfffec 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/math-preferences.c b/src/math-preferences.c
index b10fe81..ee835e9 100644
--- a/src/math-preferences.c
+++ b/src/math-preferences.c
@@ -8,6 +8,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
diff --git a/src/math-window.c b/src/math-window.c
index 59a427f..9466c4a 100644
--- a/src/math-window.c
+++ b/src/math-window.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
diff --git a/src/mp-binary.c b/src/mp-binary.c
index 4c8eafb..f834f15 100644
--- a/src/mp-binary.c
+++ b/src/mp-binary.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "mp.h"
diff --git a/src/mp-trigonometric.c b/src/mp-trigonometric.c
index 3ad60c4..a50d229 100644
--- a/src/mp-trigonometric.c
+++ b/src/mp-trigonometric.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <math.h>
diff --git a/src/mp.c b/src/mp.c
index ae9caf9..2414361 100644
--- a/src/mp.c
+++ b/src/mp.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
diff --git a/src/unit-manager.c b/src/unit-manager.c
index c937fe8..171801d 100644
--- a/src/unit-manager.c
+++ b/src/unit-manager.c
@@ -9,6 +9,10 @@
* license.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <glib/gi18n.h> // FIXME: Move out of here
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]