From: Miroslav Lichvar Date: Tue, 8 Jun 2010 15:39:49 +0000 (+0200) Subject: remove NLS code from snack (#599608) X-Git-Tag: r0-52-12~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b11e60e25be2664872e3b32df21729abcdaf2bb1;p=thirdparty%2Fnewt.git remove NLS code from snack (#599608) --- diff --git a/snackmodule.c b/snackmodule.c index d5dcff9..55d1a0a 100644 --- a/snackmodule.c +++ b/snackmodule.c @@ -1307,12 +1307,6 @@ static PyObject * pywstrlen(PyObject * s, PyObject * args) void init_snack(void) { PyObject * d, * m; -#ifdef ENABLE_NLS - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); -#endif - m = Py_InitModule("_snack", snackModuleMethods); d = PyModule_GetDict(m);