diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-23 17:17:19 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-23 17:17:19 +0000 |
| commit | 14239f879b539b1f985393b68560225ee4c5f9e1 (patch) | |
| tree | 48d2b199c23a324d054e1bc186ec2ca4061ae248 /src | |
| parent | Remove experimental code to work in MR and fixes for selectors (diff) | |
| download | inkscape-14239f879b539b1f985393b68560225ee4c5f9e1.tar.gz inkscape-14239f879b539b1f985393b68560225ee4c5f9e1.zip | |
Fix coding style
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 7 | ||||
| -rw-r--r-- | src/ui/dialog/selectorsdialog.cpp | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 0b7b68304..d6aaaf297 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -480,7 +480,7 @@ void InkscapePreferences::initPageTools() cb->init ( _("Show font samples in the drop-down list"), "/tools/text/show_sample_in_list", true); _page_text.add_line( false, "", *cb, "", _("Show font samples alongside font names in the drop-down list in Text bar")); - _font_dialog.init ( _("Show font substitution inng dialog"), "/options/font/substitutedlg", false); + _font_dialog.init(_("Show font substitution inng dialog"), "/options/font/substitutedlg", false); _page_text.add_line( false, "", _font_dialog, "", _("Show font substitution warning dialog when requested fonts are not available on the system")); cb = Gtk::manage(new PrefCheckButton); @@ -721,10 +721,7 @@ void InkscapePreferences::themeChange() } } -void InkscapePreferences::changeIconsColor(guint32 /*color*/) -{ - symbolicStyling(); -} +void InkscapePreferences::changeIconsColor(guint32 /*color*/) { symbolicStyling(); } void InkscapePreferences::initPageUI() { diff --git a/src/ui/dialog/selectorsdialog.cpp b/src/ui/dialog/selectorsdialog.cpp index 4300adacf..315ce1cc8 100644 --- a/src/ui/dialog/selectorsdialog.cpp +++ b/src/ui/dialog/selectorsdialog.cpp @@ -320,11 +320,11 @@ SelectorsDialog::SelectorsDialog() addCol = _treeView.append_column("CSS Selector", *label) - 1; col = _treeView.get_column(addCol); if (col) { - col->add_attribute(label->property_text(),_mColumns._colSelector); + col->add_attribute(label->property_text(), _mColumns._colSelector); col->add_attribute(label->property_weight(), _mColumns._colSelected); } _treeView.set_expander_column(*(_treeView.get_column(1))); - + // Signal handlers _treeView.signal_button_release_event().connect( // Needs to be release, not press. @@ -1382,10 +1382,10 @@ void SelectorsDialog::_selectRow() for (auto row : children) { Gtk::TreeModel::Children subchildren = row->children(); for (auto subrow : subchildren) { - subrow[_mColumns._colSelected] = 400; + subrow[_mColumns._colSelected] = 400; } } - for (auto obj: selection->items()) { + for (auto obj : selection->items()) { for (auto row : children) { Gtk::TreeModel::Children subchildren = row->children(); for (auto subrow : subchildren) { |
