[gnote] Add missing #include <config.h> to make translations work
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add missing #include <config.h> to make translations work
- Date: Sun, 3 Apr 2011 14:34:20 +0000 (UTC)
commit 13ebcf8e3f64fe8f8598e52dd7e2fa9b33cf272a
Author: Kjartan Maraas <kmaraas gnome org>
Date: Sun Apr 3 17:24:04 2011 +0300
Add missing #include <config.h> to make translations work
Thanks Kjartan Maraas.
src/actionmanager.cpp | 4 ++++
src/notemanager.cpp | 3 +++
src/notewindow.cpp | 5 ++++-
src/recentchanges.cpp | 6 ++++--
src/tray.cpp | 6 ++++--
5 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 58432a5..28c4129 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -1,6 +1,7 @@
/*
* gnote
*
+ * Copyright (C) 2011 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -48,6 +49,9 @@
* DEALINGS IN THE SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <glibmm/i18n.h>
#include <gtkmm/window.h>
diff --git a/src/notemanager.cpp b/src/notemanager.cpp
index 444dcfc..4518ee9 100644
--- a/src/notemanager.cpp
+++ b/src/notemanager.cpp
@@ -19,6 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index c317c87..332a950 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -1,6 +1,7 @@
/*
* gnote
*
+ * Copyright (C) 2011 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -17,7 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <boost/algorithm/string/find_iterator.hpp>
#include <boost/algorithm/string/finder.hpp>
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 3eca77e..7be73a2 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
* Copyright (C) 2010 Debarshi Ray
* Copyright (C) 2009 Hubert Figuiere
*
@@ -19,7 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <boost/format.hpp>
diff --git a/src/tray.cpp b/src/tray.cpp
index eede132..aa85295 100644
--- a/src/tray.cpp
+++ b/src/tray.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -18,7 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <boost/format.hpp>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]