summaryrefslogtreecommitdiff
path: root/src
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
parent7b0d08eedad40f430f7e0760d228393e1bc4db2c (diff)
kill set_cur_size()
kill set_cur_size()
Diffstat (limited to 'src')
-rw-r--r--src/PSEditWidget.H4
-rw-r--r--src/PSEditWidget.cxx8
2 files changed, 3 insertions, 9 deletions
diff --git a/src/PSEditWidget.H b/src/PSEditWidget.H
index f66833b..689b938 100644
--- a/src/PSEditWidget.H
+++ b/src/PSEditWidget.H
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditWidget.H,v 1.15 2005/01/27 21:07:09 hofmann Exp $"
+// "$Id: PSEditWidget.H,v 1.16 2005/06/05 19:57:57 hofmann Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -71,8 +71,6 @@ public:
int reload();
- void set_cur_size(int s);
-
void set_size(int s);
int get_size();
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) {