From 22dad424b4835fc8c994741bbebf76ff16f6e3ec Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 27 Jun 2007 06:25:23 +0000 Subject: r15480@tres: ted | 2007-05-20 23:51:34 -0700 The basics are all working, no call back from the preferences yet. That's the next step. But the dialogs appear correctly, and it works in the background. (bzr r3125) --- src/extension/internal/bluredge.cpp | 4 ++-- src/extension/internal/bluredge.h | 2 +- src/extension/internal/grid.cpp | 4 ++-- src/extension/internal/grid.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/extension/internal') diff --git a/src/extension/internal/bluredge.cpp b/src/extension/internal/bluredge.cpp index 3989f9427..248cf1c7d 100644 --- a/src/extension/internal/bluredge.cpp +++ b/src/extension/internal/bluredge.cpp @@ -117,9 +117,9 @@ BlurEdge::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::View } Gtk::Widget * -BlurEdge::prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View::View * view) +BlurEdge::prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View::View * view, Glib::SignalProxy0 * changeSignal) { - return module->autogui(NULL, NULL); + return module->autogui(NULL, NULL, changeSignal); } #include "clear-n_.h" diff --git a/src/extension/internal/bluredge.h b/src/extension/internal/bluredge.h index a442f570e..c84d16e96 100644 --- a/src/extension/internal/bluredge.h +++ b/src/extension/internal/bluredge.h @@ -22,7 +22,7 @@ class BlurEdge : public Inkscape::Extension::Implementation::Implementation { public: bool load(Inkscape::Extension::Extension *module); void effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *document); - Gtk::Widget * prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View::View * view); + Gtk::Widget * prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View::View * view, Glib::SignalProxy0 * changeSignal); static void init (void); }; diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp index 47034dd2b..099268176 100644 --- a/src/extension/internal/grid.cpp +++ b/src/extension/internal/grid.cpp @@ -169,7 +169,7 @@ PrefAdjustment::val_changed (void) Uses AutoGUI for creating the GUI. */ Gtk::Widget * -Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view) +Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, Glib::SignalProxy0 * changeSignal) { SPDocument * current_document = view->doc(); @@ -179,7 +179,7 @@ Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View if (selected != NULL) first_select = SP_OBJECT_REPR(*selected); - return module->autogui(current_document, first_select); + return module->autogui(current_document, first_select, changeSignal); } #include "clear-n_.h" diff --git a/src/extension/internal/grid.h b/src/extension/internal/grid.h index 41ac56356..1fedbb177 100644 --- a/src/extension/internal/grid.h +++ b/src/extension/internal/grid.h @@ -22,7 +22,7 @@ class Grid : public Inkscape::Extension::Implementation::Implementation { public: bool load(Inkscape::Extension::Extension *module); void effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *document); - Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view); + Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, Glib::SignalProxy0 * changeSignal); static void init (void); }; -- cgit v1.2.3