summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-06-23 17:17:19 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-06-23 17:17:19 +0000
commit14239f879b539b1f985393b68560225ee4c5f9e1 (patch)
tree48d2b199c23a324d054e1bc186ec2ca4061ae248 /src
parentRemove experimental code to work in MR and fixes for selectors (diff)
downloadinkscape-14239f879b539b1f985393b68560225ee4c5f9e1.tar.gz
inkscape-14239f879b539b1f985393b68560225ee4c5f9e1.zip
Fix coding style
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp7
-rw-r--r--src/ui/dialog/selectorsdialog.cpp8
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) {