[vte] Remove unnecessary i18n init from vtebg



commit acbaf637f2c78d34d735e1b0c0c2586b344d42ff
Author: Christian Persch <chpe gnome org>
Date:   Sun Apr 4 17:06:39 2010 +0200

    Remove unnecessary i18n init from vtebg
    
    VteBg is an internal object that cannot be accessed from outside, and
    that has no i18n. So there's really no need to make its class init
    function bind vte's textdomain.

 src/vtebg.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/vtebg.c b/src/vtebg.c
index 6ee1c4e..13bc4fc 100644
--- a/src/vtebg.c
+++ b/src/vtebg.c
@@ -25,8 +25,6 @@
 #include "marshal.h"
 #include "vtebg.h"
 
-#include <glib/gi18n-lib.h>
-
 #ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
 #include <cairo-xlib.h>
@@ -197,11 +195,6 @@ vte_bg_class_init(VteBgClass *klass)
 {
 	GObjectClass *gobject_class = G_OBJECT_CLASS(klass);
 
-	bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
-#ifdef HAVE_DECL_BIND_TEXTDOMAIN_CODESET
-	bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
-#endif
-
 	gobject_class->finalize = vte_bg_finalize;
 
 	klass->root_pixmap_changed = g_signal_new("root-pixmap-changed",



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