From 676eec5dc5331a0d006bb32d8b8c946bda8069c1 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 9 Feb 2006 20:14:00 +0100 Subject: add prev() method to GsWidget --- src/flpsed.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/flpsed.cxx') diff --git a/src/flpsed.cxx b/src/flpsed.cxx index 596d1ac..deb2579 100644 --- a/src/flpsed.cxx +++ b/src/flpsed.cxx @@ -82,7 +82,7 @@ void open_cb() { if(file != NULL) { psed_p->open_file(file); - psed_p->load_page(2); + psed_p->load(); } } @@ -164,7 +164,7 @@ void import_cb() { } void first_cb() { - psed_p->reload(); + psed_p->load(); } void next_cb() { @@ -528,9 +528,8 @@ int main(int argc, char** argv) { win->show(1, argv); if (in_fp) { - sleep(1); // this seems to be necessary on fast systems to make the - // GHOSTVIEW property available to ghostsscript. psed_p->open_file(in_fp); + psed_p->load(); fclose(in_fp); } -- cgit v1.2.3