[gdl] Use internationalization support provided by glib
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Use internationalization support provided by glib
- Date: Fri, 3 Aug 2012 20:56:27 +0000 (UTC)
commit e37b817462729a23a59e3138c8668f08c4522317
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Fri Aug 3 22:55:13 2012 +0200
Use internationalization support provided by glib
docs/reference/Makefile.am | 2 +-
gdl/Makefile.am | 2 -
gdl/deprecated/gdl-dock-tablabel.c | 2 +-
gdl/gdl-dock-bar.c | 2 +-
gdl/gdl-dock-item-grip.c | 2 +-
gdl/gdl-dock-item.c | 2 +-
gdl/gdl-dock-layout.c | 2 +-
gdl/gdl-dock-master.c | 2 +-
gdl/gdl-dock-notebook.c | 2 +-
gdl/gdl-dock-object.c | 2 +-
gdl/gdl-dock-paned.c | 2 +-
gdl/gdl-dock-placeholder.c | 2 +-
gdl/gdl-dock.c | 2 +-
gdl/gdl-i18n.c | 43 ---------------------
gdl/gdl-i18n.h | 72 ------------------------------------
gdl/gdl-switcher.c | 2 +-
16 files changed, 13 insertions(+), 130 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index d5864b5..f3faa2e 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -50,7 +50,7 @@ CFILE_GLOB=$(top_srcdir)/gdl/*.c
# Header files to ignore when scanning.
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=gdl-data-* gdl-i18n.h libgdl*
+IGNORE_HFILES=gdl-data-* libgdl*
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
diff --git a/gdl/Makefile.am b/gdl/Makefile.am
index 1e5bd43..1f4d386 100644
--- a/gdl/Makefile.am
+++ b/gdl/Makefile.am
@@ -34,8 +34,6 @@ libgdl_headers = \
libgdl_3_la_SOURCES = \
$(libgdl_headers) \
- gdl-i18n.h \
- gdl-i18n.c \
gdl-dock-object.c \
gdl-dock-master.c \
gdl-dock.c \
diff --git a/gdl/deprecated/gdl-dock-tablabel.c b/gdl/deprecated/gdl-dock-tablabel.c
index 71892a9..5137f48 100644
--- a/gdl/deprecated/gdl-dock-tablabel.c
+++ b/gdl/deprecated/gdl-dock-tablabel.c
@@ -28,7 +28,7 @@
#ifndef GDL_DISABLE_DEPRECATED
#define GDL_DISABLE_DEPRECATION_WARNINGS
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include "gdl-dock-tablabel.h"
diff --git a/gdl/gdl-dock-bar.c b/gdl/gdl-dock-bar.c
index f1e7a2e..999ac05 100644
--- a/gdl/gdl-dock-bar.c
+++ b/gdl/gdl-dock-bar.c
@@ -23,7 +23,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdl/gdl-dock-item-grip.c b/gdl/gdl-dock-item-grip.c
index bba4431..716bf05 100644
--- a/gdl/gdl-dock-item-grip.c
+++ b/gdl/gdl-dock-item-grip.c
@@ -31,7 +31,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <string.h>
#include <glib-object.h>
#include <gtk/gtk.h>
diff --git a/gdl/gdl-dock-item.c b/gdl/gdl-dock-item.c
index 90ef1e1..e412225 100644
--- a/gdl/gdl-dock-item.c
+++ b/gdl/gdl-dock-item.c
@@ -33,7 +33,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/gdl/gdl-dock-layout.c b/gdl/gdl-dock-layout.c
index e015ba3..1e72dcf 100644
--- a/gdl/gdl-dock-layout.c
+++ b/gdl/gdl-dock-layout.c
@@ -23,7 +23,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <string.h>
#include <stdlib.h>
#include <libxml/parser.h>
diff --git a/gdl/gdl-dock-master.c b/gdl/gdl-dock-master.c
index 7b431b4..2115691 100644
--- a/gdl/gdl-dock-master.c
+++ b/gdl/gdl-dock-master.c
@@ -25,7 +25,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include "gdl-dock-master.h"
#include "gdl-dock.h"
diff --git a/gdl/gdl-dock-notebook.c b/gdl/gdl-dock-notebook.c
index 0232fdf..801190a 100644
--- a/gdl/gdl-dock-notebook.c
+++ b/gdl/gdl-dock-notebook.c
@@ -23,7 +23,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include "gdl-switcher.h"
#include "gdl-dock-notebook.h"
diff --git a/gdl/gdl-dock-object.c b/gdl/gdl-dock-object.c
index 975a64b..74a201d 100644
--- a/gdl/gdl-dock-object.c
+++ b/gdl/gdl-dock-object.c
@@ -25,7 +25,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdl/gdl-dock-paned.c b/gdl/gdl-dock-paned.c
index 52cdd28..7f5b512 100644
--- a/gdl/gdl-dock-paned.c
+++ b/gdl/gdl-dock-paned.c
@@ -25,7 +25,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <string.h>
#include <gtk/gtk.h>
diff --git a/gdl/gdl-dock-placeholder.c b/gdl/gdl-dock-placeholder.c
index b7910b5..5939ce2 100644
--- a/gdl/gdl-dock-placeholder.c
+++ b/gdl/gdl-dock-placeholder.c
@@ -28,7 +28,7 @@
#ifndef GDL_DISABLE_DEPRECATED
#define GDL_DISABLE_DEPRECATION_WARNINGS
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include "gdl-dock-placeholder.h"
#include "gdl-dock-item.h"
diff --git a/gdl/gdl-dock.c b/gdl/gdl-dock.c
index e3d213a..ba062fc 100644
--- a/gdl/gdl-dock.c
+++ b/gdl/gdl-dock.c
@@ -24,7 +24,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdl/gdl-switcher.c b/gdl/gdl-switcher.c
index c7bed5e..54dbcdf 100644
--- a/gdl/gdl-switcher.c
+++ b/gdl/gdl-switcher.c
@@ -30,7 +30,7 @@
#include <config.h>
#endif
-#include "gdl-i18n.h"
+#include <glib/gi18n-lib.h>
#include "gdl-switcher.h"
#include "libgdlmarshal.h"
#include "libgdltypebuiltins.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]