summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-01-26 15:30:23 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-01-26 15:30:23 +0000
commit287c31fc4d287a6d223d00212dfa213665b9f2a3 (patch)
tree653d0e63b54a08c7e2abfeedff19de4649eb6901 /src
parentbug 185761: crash when editing text with the text & font dialog due to readin... (diff)
downloadinkscape-287c31fc4d287a6d223d00212dfa213665b9f2a3.tar.gz
inkscape-287c31fc4d287a6d223d00212dfa213665b9f2a3.zip
path lpe parameter should not know of it's edit button since it has no unique button.
(bzr r4598)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/path.cpp2
-rw-r--r--src/live_effects/parameter/path.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 59655d62e..df904b8a1 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -42,7 +42,6 @@ PathParam::PathParam( const Glib::ustring& label, const Glib::ustring& tip,
Effect* effect, const gchar * default_value)
: Parameter(label, tip, key, wr, effect)
{
- edit_button = NULL;
defvalue = g_strdup(default_value);
param_readSVGValue(defvalue);
oncanvas_editable = true;
@@ -103,7 +102,6 @@ PathParam::param_newWidget(Gtk::Tooltips * tooltips)
pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_edit_button_click));
static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true);
tooltips->set_tip(*pButton, _("Edit on-canvas"));
- edit_button = pButton;
pIcon = Gtk::manage( sp_icon_get_icon( GTK_STOCK_PASTE, Inkscape::ICON_SIZE_BUTTON) );
pButton = Gtk::manage(new Gtk::Button());
diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h
index 456a9ae0b..d6ea8d1cd 100644
--- a/src/live_effects/parameter/path.h
+++ b/src/live_effects/parameter/path.h
@@ -19,10 +19,6 @@
#include <sigc++/sigc++.h>
-namespace Gtk {
- class Button;
-}
-
namespace Inkscape {
namespace LivePathEffect {
@@ -62,8 +58,6 @@ private:
void on_paste_button_click();
gchar * defvalue;
-
- Gtk::Button * edit_button;
};