summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/prefdialog.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-07-22 23:06:21 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:38 +0000
commit8f7a3a637f6a465e78e88490a03f539f0d8fdc1a (patch)
treee503502036ba4268921ded10a81ab3b4157d89d5 /src/extension/prefdialog/prefdialog.cpp
parentMove error classes to Parameter where they belong (diff)
downloadinkscape-8f7a3a637f6a465e78e88490a03f539f0d8fdc1a.tar.gz
inkscape-8f7a3a637f6a465e78e88490a03f539f0d8fdc1a.zip
Refactor a lot of the parameter handling code
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
Diffstat (limited to 'src/extension/prefdialog/prefdialog.cpp')
-rw-r--r--src/extension/prefdialog/prefdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/prefdialog/prefdialog.cpp b/src/extension/prefdialog/prefdialog.cpp
index e0fea98c8..17deb7a20 100644
--- a/src/extension/prefdialog/prefdialog.cpp
+++ b/src/extension/prefdialog/prefdialog.cpp
@@ -54,7 +54,7 @@ PrefDialog::PrefDialog (Glib::ustring name, Gtk::Widget * controls, Effect * eff
{
this->set_default_size(0,0); // we want the window to be as small as possible instead of clobbering up space
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox *hbox = Gtk::manage(new Gtk::HBox());
if (controls == nullptr) {
if (_effect == nullptr) {
std::cout << "AH!!! No controls and no effect!!!" << std::endl;
@@ -98,7 +98,7 @@ PrefDialog::PrefDialog (Glib::ustring name, Gtk::Widget * controls, Effect * eff
this->get_content_area()->pack_start(*hbox, false, false, 0);
- Gtk::Box * hbox = dynamic_cast<Gtk::Box *>(_button_preview);
+ Gtk::Box *hbox = dynamic_cast<Gtk::Box *>(_button_preview);
if (hbox != nullptr) {
_checkbox_preview = dynamic_cast<Gtk::CheckButton *>(hbox->get_children().front());
}