[eog] Remove gi18n.h include from header file



commit 7b78b4b0732661db553f5f932d5cc8c7da6f7b44
Author: Felix Riemann <friemann gnome org>
Date:   Sun Jul 28 19:53:40 2013 +0200

    Remove gi18n.h include from header file
    
    The translation infrastructure is not used from the headers
    and should be used in the .c-files requiring it.
    This is is especially true for public headers which require a
    different i18n include.

 src/eog-save-as-dialog-helper.c |    1 +
 src/eog-uri-converter.c         |    1 +
 src/eog-uri-converter.h         |    1 -
 3 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-save-as-dialog-helper.c b/src/eog-save-as-dialog-helper.c
index 4ab88de..66e5d39 100644
--- a/src/eog-save-as-dialog-helper.c
+++ b/src/eog-save-as-dialog-helper.c
@@ -4,6 +4,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include "eog-save-as-dialog-helper.h"
 #include "eog-pixbuf-util.h"
diff --git a/src/eog-uri-converter.c b/src/eog-uri-converter.c
index 9a65618..3f6b460 100644
--- a/src/eog-uri-converter.c
+++ b/src/eog-uri-converter.c
@@ -5,6 +5,7 @@
 #include <math.h>
 #include <string.h>
 #include <glib.h>
+#include <glib/gi18n.h>
 
 #include "eog-uri-converter.h"
 #include "eog-pixbuf-util.h"
diff --git a/src/eog-uri-converter.h b/src/eog-uri-converter.h
index dfc8ab4..a188152 100644
--- a/src/eog-uri-converter.h
+++ b/src/eog-uri-converter.h
@@ -2,7 +2,6 @@
 #define _EOG_URI_CONVERTER_H_
 
 #include <glib-object.h>
-#include <glib/gi18n.h>
 #include "eog-image.h"
 
 G_BEGIN_DECLS


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