summaryrefslogtreecommitdiff
path: root/components/notes
diff options
context:
space:
mode:
Diffstat (limited to 'components/notes')
-rw-r--r--components/notes/nautilus-notes.c2
-rw-r--r--components/notes/ntl-notes.c2
2 files changed, 4 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 */
diff --git a/components/notes/ntl-notes.c b/components/notes/ntl-notes.c
index 62f24f388..9401a9c85 100644
--- a/components/notes/ntl-notes.c
+++ b/components/notes/ntl-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 */