summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/parameter.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-01-15 14:29:14 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-01-15 14:29:14 +0000
commit63273692c4e638b46a9e84026f62721784ec2cb4 (patch)
treedbeabf7fddd50b809fee9384643a636c0a36438b /src/live_effects/parameter/parameter.cpp
parentM AUTHORS (diff)
downloadinkscape-63273692c4e638b46a9e84026f62721784ec2cb4.tar.gz
inkscape-63273692c4e638b46a9e84026f62721784ec2cb4.zip
prepare LPE parameter widgets to be owned by multiple dialogs, as it should be.
For each parameter function that has not been re-implemented, a warning is issued. Sorry for the huge number of warnings showing when working with LPE. It is important to fix this asap. (bzr r4495)
Diffstat (limited to 'src/live_effects/parameter/parameter.cpp')
-rw-r--r--src/live_effects/parameter/parameter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/parameter/parameter.cpp b/src/live_effects/parameter/parameter.cpp
index 893f0d7f1..ca08b2b3d 100644
--- a/src/live_effects/parameter/parameter.cpp
+++ b/src/live_effects/parameter/parameter.cpp
@@ -136,8 +136,10 @@ ScalarParam::param_make_integer(bool yes)
}
Gtk::Widget *
-ScalarParam::param_getWidget()
+ScalarParam::param_newWidget(Gtk::Tooltips * tooltips)
{
+ // WIDGET TODO: This implementation is incorrect, it should create a *new* widget for the caller, not just return an already created widget
+ g_warning("ScalarParam::param_newWidget still needs recoding to work with multiple document views");
if (!rsu) {
rsu = new Inkscape::UI::Widget::RegisteredScalar();
rsu->init(param_label, param_tooltip, param_key, *param_wr, param_effect->getRepr(), param_effect->getSPDoc());