summaryrefslogtreecommitdiffstats
path: root/src/extension/param/int.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-04-09 14:46:33 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-04-09 14:46:33 +0000
commitbc1ecf9dd11d0b3bb6939114ce6aec229fc86548 (patch)
treeb28ae5ea0ca1186320745ea5653aeaba06e61e6c /src/extension/param/int.cpp
parentRemove unused field "scope" (diff)
downloadinkscape-bc1ecf9dd11d0b3bb6939114ce6aec229fc86548.tar.gz
inkscape-bc1ecf9dd11d0b3bb6939114ce6aec229fc86548.zip
Some code refactoring for consistency
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
Diffstat (limited to 'src/extension/param/int.cpp')
-rw-r--r--src/extension/param/int.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp
index e179484d3..4d17827f1 100644
--- a/src/extension/param/int.cpp
+++ b/src/extension/param/int.cpp
@@ -28,14 +28,14 @@ namespace Extension {
/** Use the superclass' allocator and set the \c _value. */
ParamInt::ParamInt(const gchar * name,
- const gchar * guitext,
- const gchar * desc,
- bool gui_hidden,
+ const gchar * text,
+ const gchar * description,
+ bool hidden,
int indent,
Inkscape::Extension::Extension * ext,
Inkscape::XML::Node * xml,
AppearanceMode mode)
- : Parameter(name, guitext, desc, gui_hidden, indent, ext)
+ : Parameter(name, text, description, hidden, indent, ext)
, _value(0)
, _mode(mode)
, _min(0)
@@ -149,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;
}