diff options
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/prefdialog/parameter.cpp | 45 | ||||
| -rw-r--r-- | src/extension/prefdialog/parameter.h | 11 |
2 files changed, 0 insertions, 56 deletions
diff --git a/src/extension/prefdialog/parameter.cpp b/src/extension/prefdialog/parameter.cpp index d3293a0db..2bf83f359 100644 --- a/src/extension/prefdialog/parameter.cpp +++ b/src/extension/prefdialog/parameter.cpp @@ -189,51 +189,6 @@ guint32 Parameter::set_color(guint32 in, SPDocument *doc, Inkscape::XML::Node *n } -Parameter::Parameter(gchar const *name, gchar const *text, gchar const *description, bool hidden, int indent, Inkscape::Extension::Extension *ext) : - _description(nullptr), - _text(nullptr), - _hidden(hidden), - _indent(indent), - _extension(ext), - _name(nullptr) -{ - if (name != nullptr) { - _name = g_strdup(name); - } - - if (description != nullptr) { - _description = g_strdup(description); - } - - if (text != nullptr) { - _text = g_strdup(text); - } else { - _text = g_strdup(name); - } - - return; -} - -Parameter::Parameter (gchar const *name, gchar const *text, Inkscape::Extension::Extension *ext) : - _description(nullptr), - _text(nullptr), - _hidden(false), - _indent(0), - _extension(ext), - _name(nullptr) -{ - if (name != nullptr) { - _name = g_strdup(name); - } - if (text != nullptr) { - _text = g_strdup(text); - } else { - _text = g_strdup(name); - } - - return; -} - Parameter::Parameter (Inkscape::XML::Node *in_repr, Inkscape::Extension::Extension *ext) : _extension(ext) { diff --git a/src/extension/prefdialog/parameter.h b/src/extension/prefdialog/parameter.h index f1c298fb9..af37a0ba6 100644 --- a/src/extension/prefdialog/parameter.h +++ b/src/extension/prefdialog/parameter.h @@ -58,17 +58,6 @@ public: UNSET, YES, NO }; - Parameter(gchar const *name, - gchar const *text, - gchar const *description, - bool hidden, - int indent, - Inkscape::Extension::Extension *ext); - - Parameter(gchar const *name, - gchar const *text, - Inkscape::Extension::Extension *ext); - Parameter(Inkscape::XML::Node *in_repr, Inkscape::Extension::Extension *ext); |
