[gnome-control-center/extensible-shell: 1/7] [common] Don't include glib/gi18n.h in a header



commit e066ce30f360e8b69772b94af99399d76e984987
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Jan 12 17:19:20 2010 -0500

    [common] Don't include glib/gi18n.h in a header
    
    This interferes with modules that may need to use glib/gi18n-lib.h

 capplets/common/gconf-property-editor.c |    2 ++
 capplets/common/gconf-property-editor.h |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/capplets/common/gconf-property-editor.c b/capplets/common/gconf-property-editor.c
index 31f9e0e..3f7a0b5 100644
--- a/capplets/common/gconf-property-editor.c
+++ b/capplets/common/gconf-property-editor.c
@@ -29,6 +29,8 @@
 #include <stdarg.h>
 #include <stdlib.h>
 
+#include <glib/gi18n.h>
+
 #include "gconf-property-editor.h"
 #include "gconf-property-editor-marshal.h"
 
diff --git a/capplets/common/gconf-property-editor.h b/capplets/common/gconf-property-editor.h
index 5f39c7e..cf7257d 100644
--- a/capplets/common/gconf-property-editor.h
+++ b/capplets/common/gconf-property-editor.h
@@ -25,7 +25,7 @@
 #define __GCONF_PROPERTY_EDITOR_H
 
 #include <gtk/gtk.h>
-#include <glib/gi18n.h>
+
 #include <gconf/gconf-client.h>
 #include <gconf/gconf-changeset.h>
 



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