diff src/main.c @ 686:c0dda0ffb931

configure.in was rewritten: - uses PKG_CHECK_MODULES everywhere - added --enable-debug (enable debugging support) - added --enable-developer (developer mode, checks depreceated code ...) - removed obsoleted INCLUDES from Makefile.am Fixed src/debug.h (added glib.h). Fixed src/exiv2.c compilation with libexiv2 v0.15. Added src/trash.h to src/Makefile.am (fixed generating 'make dist').
author bruclik
date Mon, 19 May 2008 01:15:17 +0000
parents 9f00d0d874fa
children d100e927488f
line wrap: on
line diff
--- a/src/main.c	Mon May 19 00:54:59 2008 +0000
+++ b/src/main.c	Mon May 19 01:15:17 2008 +0000
@@ -722,10 +722,13 @@
 
 	/* setup locale, i18n */
 	gtk_set_locale();
-	bindtextdomain(PACKAGE, GQ_LOCALEDIR);
+
+#ifdef ENABLE_NLS                               \
+    bindtextdomain(PACKAGE, GQ_LOCALEDIR);
 	bind_textdomain_codeset(PACKAGE, "UTF-8");
 	textdomain(PACKAGE);
-
+#endif
+    
 	/* setup random seed for random slideshow */
 	srand(time(NULL));