[libgnomekbd] Include gi18n-lib.h in library sources instead of gi18n.h. Fixes bug #639569



commit 35ebaff2df44d06d558a946f99b1edf449296c41
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Fri Jan 14 22:13:13 2011 +0100

    Include gi18n-lib.h in library sources instead of gi18n.h. Fixes bug #639569

 libgnomekbd/gkbd-configuration.c    |    3 ++-
 libgnomekbd/gkbd-desktop-config.c   |    2 +-
 libgnomekbd/gkbd-indicator-config.c |    2 +-
 libgnomekbd/gkbd-indicator.c        |    4 +++-
 libgnomekbd/gkbd-keyboard-config.c  |    2 +-
 libgnomekbd/gkbd-keyboard-drawing.c |    2 +-
 libgnomekbd/gkbd-status.c           |    3 ++-
 libgnomekbd/gkbd-util.c             |    2 +-
 8 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/libgnomekbd/gkbd-configuration.c b/libgnomekbd/gkbd-configuration.c
index 00f4f1e..b233f61 100644
--- a/libgnomekbd/gkbd-configuration.c
+++ b/libgnomekbd/gkbd-configuration.c
@@ -20,12 +20,13 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#include <config.h>
 
 #include <memory.h>
 
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdkx.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <gkbd-configuration.h>
 
diff --git a/libgnomekbd/gkbd-desktop-config.c b/libgnomekbd/gkbd-desktop-config.c
index 7b4b30d..0e5029c 100644
--- a/libgnomekbd/gkbd-desktop-config.c
+++ b/libgnomekbd/gkbd-desktop-config.c
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 #include <X11/keysym.h>
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <gkbd-desktop-config.h>
 #include <gkbd-config-private.h>
diff --git a/libgnomekbd/gkbd-indicator-config.c b/libgnomekbd/gkbd-indicator-config.c
index 238ea3f..72abfb3 100644
--- a/libgnomekbd/gkbd-indicator-config.c
+++ b/libgnomekbd/gkbd-indicator-config.c
@@ -26,7 +26,7 @@
 
 #include <pango/pango.h>
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <gdk/gdkx.h>
 
 #include <gkbd-keyboard-config.h>
diff --git a/libgnomekbd/gkbd-indicator.c b/libgnomekbd/gkbd-indicator.c
index 3f6f288..8c5cee1 100644
--- a/libgnomekbd/gkbd-indicator.c
+++ b/libgnomekbd/gkbd-indicator.c
@@ -17,11 +17,13 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include <config.h>
+
 #include <memory.h>
 
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdkx.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <gkbd-indicator.h>
 #include <gkbd-indicator-marshal.h>
diff --git a/libgnomekbd/gkbd-keyboard-config.c b/libgnomekbd/gkbd-keyboard-config.c
index 51c6ce4..bbbc840 100644
--- a/libgnomekbd/gkbd-keyboard-config.c
+++ b/libgnomekbd/gkbd-keyboard-config.c
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 #include <X11/keysym.h>
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <gkbd-keyboard-config.h>
 #include <gkbd-config-private.h>
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index 129d903..17d4f8e 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <memory.h>
 #include <math.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <libxklavier/xklavier.h>
 
 #include <gkbd-keyboard-drawing.h>
diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c
index 6a27295..29028a5 100644
--- a/libgnomekbd/gkbd-status.c
+++ b/libgnomekbd/gkbd-status.c
@@ -16,6 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#include <config.h>
 
 #include <memory.h>
 
@@ -23,7 +24,7 @@
 
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdkx.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <gkbd-status.h>
 
diff --git a/libgnomekbd/gkbd-util.c b/libgnomekbd/gkbd-util.c
index 8aa4f04..ede0b0a 100644
--- a/libgnomekbd/gkbd-util.c
+++ b/libgnomekbd/gkbd-util.c
@@ -23,7 +23,7 @@
 
 #include <time.h>
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 
 #include <libxklavier/xklavier.h>
 



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