From 3751f88716b8431ae6037369ddf762d47593d4e6 Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 24 Apr 2000 18:56:53 +0000 Subject: [PATCH] 2000-04-23 JP Rosevear * gview.c (view): Constify file parameter to match prototype and fix build problem. --- gnome/ChangeLog | 5 +++++ gnome/gview.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 93c625ce5..25c912571 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,8 @@ +2000-04-23 JP Rosevear + + * gview.c (view): Constify file parameter to match prototype and fix + build problem. + 2000-04-18 Pavel Machek * gcmd.c (gnome_open_terminal_with_cmd): Allow translating of diff --git a/gnome/gview.c b/gnome/gview.c index e5d36fd15..f14b6c668 100644 --- a/gnome/gview.c +++ b/gnome/gview.c @@ -351,7 +351,7 @@ quit_view (GtkWidget *widget, GdkEvent *event, WView *view) } int -view (char *_command, char *_file, int *move_dir_p, int start_line) +view (char *_command, const char *_file, int *move_dir_p, int start_line) { Dlg_head *our_dlg; GtkWidget *toplevel, *status, *scrollbar, *hbox;