]> www.fi.muni.cz Git - evince.git/commitdiff
Add missing includes, fix indentation.
authorRoss Burton <ross@openedhand.com>
Wed, 2 May 2007 15:20:54 +0000 (15:20 +0000)
committerRoss Burton <rburton@src.gnome.org>
Wed, 2 May 2007 15:20:54 +0000 (15:20 +0000)
2007-05-02  Ross Burton  <ross@openedhand.com>

* shell/ev-window.c:
Add missing includes, fix indentation.

* shell/main.c:
Fix indentation.

svn path=/trunk/; revision=2430

ChangeLog
shell/ev-window.c
shell/main.c

index c7e6c2af9994ddf91712b19bdbdd425c6978ebc7..9243bf3326029217cc7545bb4d7764027dbad92e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-02  Ross Burton  <ross@openedhand.com>
+
+       * shell/ev-window.c:
+       Add missing includes, fix indentation.
+
+       * shell/main.c:
+       Fix indentation.
+
 2007-04-30  Eduardo Lima <eduardo.lima@indt.org.br>
 
        * shell/ev-window.c (ev_window_cmd_recent_file_activate): Use
index e883f4fdb1c6355ad6b402aa0ab710193f41a5e0..cb7f71bb61959b32f23ff6a5d5ef6716b2b678bb 100644 (file)
 #include <libgnomevfs/gnome-vfs-async-ops.h>
 #include <gconf/gconf-client.h>
 
+#include <errno.h>
+#include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 char *xdg_user_dir_lookup (char *type);
 
@@ -3131,7 +3134,7 @@ ev_window_cmd_help_contents (GtkAction *action, EvWindow *ev_window)
 {
        GError *error = NULL;
 
-        g_return_if_fail (EV_IS_WINDOW (ev_window));
+       g_return_if_fail (EV_IS_WINDOW (ev_window));
 
        gnome_help_display ("evince.xml", NULL, &error);
 
index 932e327979d8c8bce1cf3f3779747f328bb578e6..090b6bf888006a8c588781fa6858a7acf6838162 100644 (file)
@@ -297,11 +297,11 @@ main (int argc, char *argv[])
 #endif
 
        program = gnome_program_init (PACKAGE, VERSION,
-                                      LIBGNOMEUI_MODULE, argc, argv,
-                                      GNOME_PARAM_GOPTION_CONTEXT, context,
-                                      GNOME_PARAM_HUMAN_READABLE_NAME, _("Evince"),
+                                     LIBGNOMEUI_MODULE, argc, argv,
+                                     GNOME_PARAM_GOPTION_CONTEXT, context,
+                                     GNOME_PARAM_HUMAN_READABLE_NAME, _("Evince"),
                                      GNOME_PARAM_APP_DATADIR, GNOMEDATADIR,
-                                      NULL);
+                                     NULL);
 
        args = arguments_parse ();