[tasks] -Fix use of include <config.h> to make sure translations work
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasks] -Fix use of include <config.h> to make sure translations work
- Date: Thu, 23 Feb 2012 19:33:43 +0000 (UTC)
commit 7cb54b2bb4bb83191ffd8dc3ff10ed3bb2f1a0be
Author: Kjartan Maraas <kmaraas gnome org>
Date: Sun Mar 27 22:50:51 2011 +0200
-Fix use of include <config.h> to make sure translations work
libkoto/koto-date-combo.c | 4 ++++
libkoto/koto-priority-combo.c | 4 ++++
libkoto/koto-task-editor-dialog.c | 4 ++++
src/gtk/ui.h | 2 --
4 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/libkoto/koto-date-combo.c b/libkoto/koto-date-combo.c
index 057b975..864da2b 100644
--- a/libkoto/koto-date-combo.c
+++ b/libkoto/koto-date-combo.c
@@ -16,6 +16,10 @@
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <time.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
diff --git a/libkoto/koto-priority-combo.c b/libkoto/koto-priority-combo.c
index d50fa5a..0718dce 100644
--- a/libkoto/koto-priority-combo.c
+++ b/libkoto/koto-priority-combo.c
@@ -16,6 +16,10 @@
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "koto-priority-combo.h"
diff --git a/libkoto/koto-task-editor-dialog.c b/libkoto/koto-task-editor-dialog.c
index 0d1f513..eb25f1e 100644
--- a/libkoto/koto-task-editor-dialog.c
+++ b/libkoto/koto-task-editor-dialog.c
@@ -16,6 +16,10 @@
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "koto-field-editor-factory.h"
diff --git a/src/gtk/ui.h b/src/gtk/ui.h
index 88e05e9..f7bd122 100644
--- a/src/gtk/ui.h
+++ b/src/gtk/ui.h
@@ -1,5 +1,3 @@
-#include <config.h>
-
static const char ui_xml[] = {
/* This is the menu bar used normally */
"<menubar name='MenuBar'>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]