summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:43:23 +0200
committerraveit65 <[email protected]>2019-07-01 17:07:40 +0200
commitaa24676651f8bd3e8b434f72d5aac98e84c0867d (patch)
tree37693766ecb4733c6061dcc2ddc26954fab5ca01 /previewer/ev-previewer.c
parent6741c5db1e5c48c01b25bb7900dc40d48552925d (diff)
downloadatril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.bz2
atril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'previewer/ev-previewer.c')
-rw-r--r--previewer/ev-previewer.c14
1 files changed, 7 insertions, 7 deletions
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;
}