summaryrefslogtreecommitdiff
path: root/components/notes/nautilus-notes.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/notes/nautilus-notes.c')
-rw-r--r--components/notes/nautilus-notes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/notes/nautilus-notes.c b/components/notes/nautilus-notes.c
index 62f24f388..9401a9c85 100644
--- a/components/notes/nautilus-notes.c
+++ b/components/notes/nautilus-notes.c
@@ -211,8 +211,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 CORBA and Bonobo */