summaryrefslogtreecommitdiff
path: root/src/PSEditor.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-09 18:16:10 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-02-09 18:16:10 +0100
commitbed947bd0e8a76d458e6997eec1c82c95842cb27 (patch)
treecb2c2d90ef02ed535b7e54a21ecc92e685a967e0 /src/PSEditor.cxx
parent13278eaedfccf32ea897ef187d82d047af903557 (diff)
new version without extra feeder process
Diffstat (limited to 'src/PSEditor.cxx')
-rw-r--r--src/PSEditor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PSEditor.cxx b/src/PSEditor.cxx
index cc620d4..a2df43f 100644
--- a/src/PSEditor.cxx
+++ b/src/PSEditor.cxx
@@ -110,7 +110,7 @@ int PSEditor::handle(int event) {
}
-int PSEditor::load(FILE *fp) {
+int PSEditor::open_file(FILE *fp) {
if (tmp_fd) {
close(tmp_fd);
}
@@ -122,11 +122,11 @@ int PSEditor::load(FILE *fp) {
} else {
mod = 0;
loaded = 1;
- return GsWidget::load(tmp_fd);
+ return GsWidget::open_file(tmp_fd);
}
}
-int PSEditor::load(const char *f) {
+int PSEditor::open_file(const char *f) {
FILE *fp;
int ret;
@@ -136,7 +136,7 @@ int PSEditor::load(const char *f) {
return 1;
}
- ret = load(fp);
+ ret = open_file(fp);
fclose(fp);
return ret;