summaryrefslogtreecommitdiff
path: root/src/flpsed.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-09 20:14:00 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-09 20:14:00 +0100
commit676eec5dc5331a0d006bb32d8b8c946bda8069c1 (patch)
tree280fa756eb5985459adb05889b16f1918b5baa22 /src/flpsed.cxx
parentbed947bd0e8a76d458e6997eec1c82c95842cb27 (diff)
add prev() method to GsWidget
Diffstat (limited to 'src/flpsed.cxx')
-rw-r--r--src/flpsed.cxx7
1 files changed, 3 insertions, 4 deletions
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);
}