summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'previewer/ev-previewer.c')
-rw-r--r--previewer/ev-previewer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/previewer/ev-previewer.c b/previewer/ev-previewer.c
index e96db773..a124a829 100644
--- a/previewer/ev-previewer.c
+++ b/previewer/ev-previewer.c
@@ -102,10 +102,12 @@ main (gint argc, gchar **argv)
bindtextdomain (GETTEXT_PACKAGE, ev_get_locale_dir());
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
-#endif
+#endif /* ENABLE_NLS */
context = g_option_context_new (_("MATE Document Previewer"));
+#ifdef ENABLE_NLS
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
g_option_context_add_main_entries (context, goption_options, GETTEXT_PACKAGE);
g_option_context_add_group (context, gtk_get_option_group (TRUE));
@@ -161,7 +163,6 @@ main (gint argc, gchar **argv)
ev_previewer_unlink_tempfile (print_settings);
ev_shutdown ();
- ev_stock_icons_shutdown ();
g_object_unref (model);
return 0;