summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
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/live_effects/parameter/path.cpp
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/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp2
1 files changed, 0 insertions, 2 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());