From 287c31fc4d287a6d223d00212dfa213665b9f2a3 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sat, 26 Jan 2008 15:30:23 +0000 Subject: path lpe parameter should not know of it's edit button since it has no unique button. (bzr r4598) --- src/live_effects/parameter/path.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/live_effects/parameter/path.cpp') 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(_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()); -- cgit v1.2.3