diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-05-29 13:46:40 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-02 09:50:17 +0000 |
| commit | 4ee33795749b46cd4e0b8c84ab336b7cb8d18faa (patch) | |
| tree | b99a47f437a155d9e7cd1b36e9096f211004bb54 /src | |
| parent | Add CSS and remove XML toggler button (diff) | |
| download | inkscape-4ee33795749b46cd4e0b8c84ab336b7cb8d18faa.tar.gz inkscape-4ee33795749b46cd4e0b8c84ab336b7cb8d18faa.zip | |
fix coding style
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/selectordialog.cpp | 4 | ||||
| -rw-r--r-- | src/ui/widget/ink-flow-box.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/dialog/selectordialog.cpp b/src/ui/dialog/selectordialog.cpp index 2501214c5..fefd23e51 100644 --- a/src/ui/dialog/selectordialog.cpp +++ b/src/ui/dialog/selectordialog.cpp @@ -56,7 +56,7 @@ public: : _selectordialog(selectordialog) { g_debug("SelectorDialog::NodeObserver: Constructor"); - }; + }; void notifyContentChanged(Inkscape::XML::Node &node, Inkscape::Util::ptr_shared old_content, @@ -88,7 +88,7 @@ public: , _repr(repr) { g_debug("SelectorDialog::NodeWatcher: Constructor"); - }; + }; void notifyChildAdded( Inkscape::XML::Node &/*node*/, Inkscape::XML::Node &child, diff --git a/src/ui/widget/ink-flow-box.cpp b/src/ui/widget/ink-flow-box.cpp index 5b108ebb6..6b2530429 100644 --- a/src/ui/widget/ink-flow-box.cpp +++ b/src/ui/widget/ink-flow-box.cpp @@ -30,7 +30,8 @@ InkFlowBox::InkFlowBox(const gchar *name) tbutton->set_always_show_image(true); _flowbox.set_selection_mode(Gtk::SelectionMode::SELECTION_NONE); Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - tbutton->set_active(true);// commented for furter use prefs->getBool(Glib::ustring("/dialogs/") + get_name() + Glib::ustring("/flowbox/lock"), true)); + tbutton->set_active(true); // commented for furter use prefs->getBool(Glib::ustring("/dialogs/") + get_name() + + // Glib::ustring("/flowbox/lock"), true)); Glib::ustring iconname = "object-unlocked"; if (tbutton->get_active()) { iconname = "object-locked"; @@ -39,7 +40,7 @@ InkFlowBox::InkFlowBox(const gchar *name) tbutton->signal_toggled().connect( sigc::bind<Gtk::ToggleButton *>(sigc::mem_fun(*this, &InkFlowBox::on_global_toggle), tbutton)); //_controller.pack_start(*tbutton); - //tbutton->show(); + // tbutton->show(); showing = 0; sensitive = true; } |
