[byzanz] Use glib's i18n header



commit 48c78312cb295e89d6b874982d29c3bac960fbfe
Author: Benjamin Otte <otte gnome org>
Date:   Wed Aug 19 22:53:08 2009 +0200

    Use glib's i18n header

 gifenc/Makefile.am  |    3 +--
 gifenc/i18n.h       |   35 -----------------------------------
 src/byzanzapplet.c  |    2 +-
 src/byzanzselect.c  |    4 +++-
 src/byzanzsession.c |    2 +-
 src/record.c        |    3 ++-
 6 files changed, 8 insertions(+), 41 deletions(-)
---
diff --git a/gifenc/Makefile.am b/gifenc/Makefile.am
index f763265..bfe6756 100644
--- a/gifenc/Makefile.am
+++ b/gifenc/Makefile.am
@@ -6,8 +6,7 @@ libgifenc_la_SOURCES = \
 
 noinst_HEADERS = \
 	gifenc.h \
-	gifenc-readbits.h \
-	i18n.h
+	gifenc-readbits.h
 
 # we could use just glib instead of gtk here
 # if we removed the gdk-pixbuf support routines
diff --git a/src/byzanzapplet.c b/src/byzanzapplet.c
index 7a59e74..bfefd29 100644
--- a/src/byzanzapplet.c
+++ b/src/byzanzapplet.c
@@ -31,7 +31,7 @@
 #include "byzanzselect.h"
 #include "paneltogglebutton.h"
 #include "paneldropdown.h"
-#include "i18n.h"
+#include <glib/gi18n.h>
 
 static GQuark index_quark = 0;
 
diff --git a/src/byzanzselect.c b/src/byzanzselect.c
index f4840c5..07ec4f2 100644
--- a/src/byzanzselect.c
+++ b/src/byzanzselect.c
@@ -22,7 +22,9 @@
 #endif
 
 #include "byzanzselect.h"
-#include "i18n.h"
+
+#include <glib/gi18n.h>
+
 #include "screenshot-utils.h"
 
 /*** SELECT AREA ***/
diff --git a/src/byzanzsession.c b/src/byzanzsession.c
index 8b58cab..2fd1e3c 100644
--- a/src/byzanzsession.c
+++ b/src/byzanzsession.c
@@ -31,12 +31,12 @@
 #include <errno.h>
 #include <cairo.h>
 #include <glib/gstdio.h>
+#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 #include <X11/extensions/Xdamage.h>
 #include <X11/extensions/Xfixes.h>
 #include "gifenc.h"
-#include "i18n.h"
 
 typedef enum {
   SESSION_STATE_ERROR,
diff --git a/src/record.c b/src/record.c
index fe2f64a..b2aa014 100644
--- a/src/record.c
+++ b/src/record.c
@@ -21,8 +21,9 @@
 #  include "config.h"
 #endif
 
+#include <glib/gi18n.h>
+
 #include "byzanzsession.h"
-#include "i18n.h"
 
 static int duration = 10;
 static int delay = 1;



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