summaryrefslogtreecommitdiff
path: root/logview
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-10 17:55:16 +0100
committerinfirit <[email protected]>2014-11-10 17:55:16 +0100
commit939f5a3f49b9ed5299eb4aa6be56842cef049b9e (patch)
tree92329922273b5901c1fadcf3e33d3e775f30de6e /logview
parent435be8bdc4f0e9881b439825b16b29fecd02338e (diff)
downloadmate-utils-939f5a3f49b9ed5299eb4aa6be56842cef049b9e.tar.bz2
mate-utils-939f5a3f49b9ed5299eb4aa6be56842cef049b9e.tar.xz
Add missing #include <config.h> to make translations work
Based on gnome-utils commit: 95edffa91ed559515d659187baba6ec7806b251b From: Kjartan Maraas <[email protected]>
Diffstat (limited to 'logview')
-rw-r--r--logview/logview-app.c4
-rw-r--r--logview/logview-app.h2
-rw-r--r--logview/logview-filter-manager.c4
-rw-r--r--logview/logview-filter.c4
-rw-r--r--logview/logview-findbar.c4
-rw-r--r--logview/logview-loglist.c4
-rw-r--r--logview/logview-manager.c4
-rw-r--r--logview/logview-utils.c6
-rw-r--r--logview/tests/test-reader.c4
9 files changed, 33 insertions, 3 deletions
diff --git a/logview/logview-app.c b/logview/logview-app.c
index 22fa819a..f9d24826 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 33a0c83b..3ce7c059 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 d46f1aca..5b55f0cf 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 c68eb114..b5f9cfc6 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 9fbf9cb4..3cb53f1d 100644
--- a/logview/logview-findbar.c
+++ b/logview/logview-findbar.c
@@ -19,6 +19,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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 42f438c1..d7945c64 100644
--- a/logview/logview-loglist.c
+++ b/logview/logview-loglist.c
@@ -19,6 +19,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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 4b365e77..6d6bfb05 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 cd43f075..3a1e2d07 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>
@@ -274,4 +278,4 @@ log_read_dates (const char **buffer_lines, time_t current)
days = g_slist_sort (days, days_compare);
return days;
-} \ No newline at end of file
+}
diff --git a/logview/tests/test-reader.c b/logview/tests/test-reader.c
index e208a30b..75da422e 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"