diff options
author | Ross Burton <ross@openedhand.com> | 2007-05-02 15:20:54 (GMT) |
---|---|---|
committer | Ross Burton <rburton@src.gnome.org> | 2007-05-02 15:20:54 (GMT) |
commit | c74c0a3ed020014c55ca9320653e704b6608848a (patch) | |
tree | 302c171dc36c84fe5c6be488e3e5e5b31e7c9ff0 /shell | |
parent | 4503ce8e24756884b0992c0717dc127d67d9f981 (diff) |
Add missing includes, fix indentation.
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 5 | ||||
-rw-r--r-- | shell/main.c | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index e883f4f..cb7f71b 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -92,7 +92,10 @@ #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); diff --git a/shell/main.c b/shell/main.c index 932e327..090b6bf 100644 --- a/shell/main.c +++ b/shell/main.c @@ -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 (); |