From 63273692c4e638b46a9e84026f62721784ec2cb4 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 15 Jan 2008 14:29:14 +0000 Subject: 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) --- src/live_effects/parameter/bool.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/live_effects/parameter/bool.cpp') diff --git a/src/live_effects/parameter/bool.cpp b/src/live_effects/parameter/bool.cpp index 78ce17939..14fd88423 100644 --- a/src/live_effects/parameter/bool.cpp +++ b/src/live_effects/parameter/bool.cpp @@ -58,8 +58,10 @@ BoolParam::param_writeSVGValue() const } Gtk::Widget * -BoolParam::param_getWidget() +BoolParam::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("BoolParam::param_newWidget still needs recoding to work with multiple document views"); if (!checkwdg) { checkwdg = new Inkscape::UI::Widget::RegisteredCheckButton(); checkwdg->init(param_label, param_tooltip, param_key, *param_wr, false, param_effect->getRepr(), param_effect->getSPDoc()); -- cgit v1.2.3