summaryrefslogtreecommitdiffstats
path: root/src/extension/param/int.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-04-24 19:34:12 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-04-24 19:34:12 +0000
commit5c81e441ce0c43584282435030333740c282bee4 (patch)
treeb28ae5ea0ca1186320745ea5653aeaba06e61e6c /src/extension/param/int.cpp
parentRestore r14955 which was reverted in r15047 due to messed up merge (diff)
parentSome code refactoring for consistency (diff)
downloadinkscape-5c81e441ce0c43584282435030333740c282bee4.tar.gz
inkscape-5c81e441ce0c43584282435030333740c282bee4.zip
Extensions: Some refactoring for code clarity and consistency
(bzr r15634)
Diffstat (limited to 'src/extension/param/int.cpp')
-rw-r--r--src/extension/param/int.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp
index e81b0a526..4d17827f1 100644
--- a/src/extension/param/int.cpp
+++ b/src/extension/param/int.cpp
@@ -28,16 +28,14 @@ namespace Extension {
/** Use the superclass' allocator and set the \c _value. */
ParamInt::ParamInt(const gchar * name,
- const gchar * guitext,
- const gchar * desc,
- const Parameter::_scope_t scope,
- bool gui_hidden,
- const gchar * gui_tip,
+ const gchar * text,
+ const gchar * description,
+ bool hidden,
int indent,
Inkscape::Extension::Extension * ext,
Inkscape::XML::Node * xml,
AppearanceMode mode)
- : Parameter(name, guitext, desc, scope, gui_hidden, gui_tip, indent, ext)
+ : Parameter(name, text, description, hidden, indent, ext)
, _value(0)
, _mode(mode)
, _min(0)
@@ -151,7 +149,7 @@ void ParamIntAdjustment::val_changed(void)
Gtk::Widget *
ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal)
{
- if (_gui_hidden) {
+ if (_hidden) {
return NULL;
}