summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-19 01:29:27 +0200
committerRobin Gareus <robin@gareus.org>2017-08-19 01:29:27 +0200
commita07465ceaaa2c20ab41dd60dc13793b6e09da81b (patch)
tree59ac5311575d7a83e71601db2b21b1078e2d3e47 /gtk2_ardour
parent2cc32456ab5bfce4f21d10b28e40f44293c987aa (diff)
NO-OP: whitespace
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/luadialog.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk2_ardour/luadialog.cc b/gtk2_ardour/luadialog.cc
index 7ec6acfb10..32d86ec392 100644
--- a/gtk2_ardour/luadialog.cc
+++ b/gtk2_ardour/luadialog.cc
@@ -519,7 +519,7 @@ Dialog::Dialog (std::string const& title, luabridge::LuaRef lr)
if (i.value ()["key"].isString ()) {
key = i.value ()["key"].cast<std::string> ();
}
-
+
LuaDialogWidget *widge;
if (type == "heading") {
@@ -619,14 +619,14 @@ Dialog::Dialog (std::string const& title, luabridge::LuaRef lr)
}
widge = new LuaFileChooser (key, title, Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER, path);
}
-
+
if (widge) {
_widgets.push_back(widge);
if (i.value ()["col"].isNumber ()) {
widge->set_col ( i.value ()["col"].cast<int> () );
}
- }
+ }
}
_ad.add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
@@ -640,15 +640,15 @@ Dialog::Dialog (std::string const& title, luabridge::LuaRef lr)
for (DialogWidgets::const_iterator i = _widgets.begin (); i != _widgets.end (); ++i) {
int col = (*i)->col();
- if (col <= 0)
- ++row;
-
- std::string const& label = (*i)->label ();
+ if (col <= 0)
+ ++row;
+
+ std::string const& label = (*i)->label ();
if (!label.empty ()) {
Gtk::HBox* hb = Gtk::manage (new Gtk::HBox());
- Gtk::Label* lbl = Gtk::manage (new Gtk::Label (label + ":", Gtk::ALIGN_END, Gtk::ALIGN_CENTER, false));
+ Gtk::Label* lbl = Gtk::manage (new Gtk::Label (label + ":", Gtk::ALIGN_END, Gtk::ALIGN_CENTER, false));
hb->set_spacing(4);
- hb->pack_start( *lbl, true, false);
+ hb->pack_start( *lbl, true, false);
hb->pack_start( (*((*i)->widget ())), true, false);
table->attach (*hb, col+0, col+1, row, row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK);
} else if ((*i)->key ().empty ()) {