diff options
Diffstat (limited to 'previewer')
-rw-r--r-- | previewer/ev-previewer-window.c | 4 | ||||
-rw-r--r-- | previewer/ev-previewer-window.h | 2 | ||||
-rw-r--r-- | previewer/ev-previewer.c | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c index a33929a3..d710afe5 100644 --- a/previewer/ev-previewer-window.c +++ b/previewer/ev-previewer-window.c @@ -1,4 +1,4 @@ -/* ev-previewer-window.c: +/* ev-previewer-window.c: * this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos <[email protected]> @@ -235,7 +235,7 @@ ev_previewer_window_enumerate_finished (EvPreviewerWindow *window) GTK_PRINT_ERROR_GENERAL, _("The selected printer '%s' could not be found"), gtk_print_settings_get_printer (window->print_settings)); - + ev_previewer_window_error_dialog_run (window, error); g_error_free (error); } diff --git a/previewer/ev-previewer-window.h b/previewer/ev-previewer-window.h index 7d1e686b..5c5d9d5e 100644 --- a/previewer/ev-previewer-window.h +++ b/previewer/ev-previewer-window.h @@ -1,4 +1,4 @@ -/* ev-previewer-window.h: +/* ev-previewer-window.h: * this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos <[email protected]> diff --git a/previewer/ev-previewer.c b/previewer/ev-previewer.c index 53cb2e22..e96db773 100644 --- a/previewer/ev-previewer.c +++ b/previewer/ev-previewer.c @@ -1,4 +1,4 @@ -/* ev-previewer.c: +/* ev-previewer.c: * this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos <[email protected]> @@ -103,13 +103,13 @@ main (gint argc, gchar **argv) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif - + context = g_option_context_new (_("MATE Document Previewer")); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, goption_options, GETTEXT_PACKAGE); g_option_context_add_group (context, gtk_get_option_group (TRUE)); - + if (!g_option_context_parse (context, &argc, &argv, &error)) { g_warning ("Error parsing command line arguments: %s", error->message); g_error_free (error); @@ -121,12 +121,12 @@ main (gint argc, gchar **argv) if (!filenames) { g_warning ("File argument is required"); - + return 1; } filename = filenames[0]; - + if (!g_file_test (filename, G_FILE_TEST_IS_REGULAR)) { g_warning ("Filename \"%s\" does not exist or is not a regular file", filename); @@ -152,7 +152,7 @@ main (gint argc, gchar **argv) gtk_widget_show (window); ev_previewer_load_document (filename, model); - + gtk_main (); if (unlink_temp_file) @@ -163,6 +163,6 @@ main (gint argc, gchar **argv) ev_shutdown (); ev_stock_icons_shutdown (); g_object_unref (model); - + return 0; } |