summaryrefslogtreecommitdiff
path: root/src/nautilus-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-main.c')
-rw-r--r--src/nautilus-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-main.c b/src/nautilus-main.c
index c8e8164df..803b81341 100644
--- a/src/nautilus-main.c
+++ b/src/nautilus-main.c
@@ -70,8 +70,10 @@ main(int argc, char *argv[])
}
/* Initialize gettext support */
+#ifdef ENABLE_NLS /* sadly we need this ifdef because otherwise the following get empty statement warnings */
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
+#endif
/* Initialize the services that we use. */
CORBA_exception_init (&ev);