summaryrefslogtreecommitdiff
path: root/src/PSEditWidget.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-06-05 17:57:57 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-06-05 17:57:57 +0000
commit23a117d4bed517b0cba4539355706f5221fe9a65 (patch)
tree5c91434f56fc6e84fa01e1f6c42e4854d8e91adb /src/PSEditWidget.cxx
parent7b0d08eedad40f430f7e0760d228393e1bc4db2c (diff)
kill set_cur_size()
kill set_cur_size()
Diffstat (limited to 'src/PSEditWidget.cxx')
-rw-r--r--src/PSEditWidget.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx
index 46a6c1c..6efccb8 100644
--- a/src/PSEditWidget.cxx
+++ b/src/PSEditWidget.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditWidget.cxx,v 1.35 2005/02/03 18:10:17 hofmann Exp $"
+// "$Id: PSEditWidget.cxx,v 1.36 2005/06/05 19:57:57 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -229,10 +229,6 @@ int PSEditWidget::reload() {
return GsWidget::reload();
}
-void PSEditWidget::set_cur_size(int s) {
- cur_size = s;
-}
-
void PSEditWidget::set_size(int s) {
PSEditText *t;
int old_x, old_y, old_w, old_h;
@@ -245,7 +241,7 @@ void PSEditWidget::set_size(int s) {
old_h = bb_h(t);
}
- set_cur_size(s);
+ cur_size = s;
model->set_size(s);
if (t) {