From: johanengelen Date: Sat, 26 Jan 2008 15:30:23 +0000 (+0000) Subject: path lpe parameter should not know of it's edit button since it has no unique button. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=734b6f7c11bde09922397238549ad4f8cd286c31;p=inkscape.git path lpe parameter should not know of it's edit button since it has no unique button. --- 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()); 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 -namespace Gtk { - class Button; -} - namespace Inkscape { namespace LivePathEffect { @@ -62,8 +58,6 @@ private: void on_paste_button_click(); gchar * defvalue; - - Gtk::Button * edit_button; };