From 858d9bde086027e4f08f7d1004d4bcc2cf7aa016 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 22 Nov 2003 21:46:07 +0000 Subject: [PATCH] Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc. Original commit message from CVS: Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc. --- gst/gst.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gst.c b/gst/gst.c index 1ca527acee..8b1ef9535d 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -392,9 +392,11 @@ init_pre (void) } /* we need threading to be enabled right here */ _gst_debug_init(); - + +#ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, GST_LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); +#endif /* ENABLE_NLS */ #ifndef GST_DISABLE_REGISTRY {