summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-09-01 04:29:35 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-09-01 04:29:35 +0000
commit9a2885d518137dd64ee0469f296d78674e7b9fec (patch)
tree1d18639c06879aaba2357fe1e33b89c4c82393cd /src
parentr16003@tres: ted | 2007-07-27 08:51:45 -0700 (diff)
downloadinkscape-9a2885d518137dd64ee0469f296d78674e7b9fec.tar.gz
inkscape-9a2885d518137dd64ee0469f296d78674e7b9fec.zip
r16220@tres: ted | 2007-08-15 19:43:11 -0700
Okay, so now things are a little more connected. The widgets are parameters and they have signals. Work left is to actually USE those signals ;) (bzr r3634)
Diffstat (limited to 'src')
-rw-r--r--src/extension/execution-env.h3
-rw-r--r--src/extension/prefdialog.cpp17
2 files changed, 19 insertions, 1 deletions
diff --git a/src/extension/execution-env.h b/src/extension/execution-env.h
index 1e145de4d..a20c0ba3d 100644
--- a/src/extension/execution-env.h
+++ b/src/extension/execution-env.h
@@ -25,7 +25,6 @@ namespace Extension {
class ExecutionEnv {
private:
- Effect * _effect;
Gtk::Dialog * _visibleDialog;
bool _prefsVisible;
bool _finished;
@@ -37,6 +36,8 @@ private:
std::list<Glib::ustring> _selected;
public:
+ Effect * _effect;
+
ExecutionEnv (Effect * effect, Inkscape::UI::View::View * doc, Gtk::Widget * controls = NULL);
~ExecutionEnv (void);
diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp
index 2bc971d01..38f5be4a6 100644
--- a/src/extension/prefdialog.cpp
+++ b/src/extension/prefdialog.cpp
@@ -13,9 +13,14 @@
#include <glibmm/i18n.h>
#include "../dialogs/dialog-events.h"
+#include "xml/repr.h"
+
+#include "preferences.h"
+#include "effect.h"
#include "prefdialog.h"
+
namespace Inkscape {
namespace Extension {
@@ -77,6 +82,18 @@ PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * co
return;
}
+PrefDialog::~PrefDialog ( )
+{
+ if (_param_preview != NULL) {
+ delete _param_preview;
+ }
+ if (_param_pinned != NULL) {
+ delete _param_pinned;
+ }
+
+ return;
+}
+
/** \brief Runs the dialog
\return The response to the dialog