aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-06 18:32:01 +0000
committerDavid Robillard <d@drobilla.net>2011-06-06 18:32:01 +0000
commit0bfaff9535291d6074d1541af2f7f83c61605d7f (patch)
tree028955df10ccfeab04093275bcaf8cbe8ac66e23 /src
parenteac59697740e943f2e2c7a2382bc3399e7aa7cfc (diff)
downloadmachina-0bfaff9535291d6074d1541af2f7f83c61605d7f.tar.gz
machina-0bfaff9535291d6074d1541af2f7f83c61605d7f.tar.bz2
machina-0bfaff9535291d6074d1541af2f7f83c61605d7f.zip
Use sane typedefs for collections.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3365 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/MachinaGUI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp
index 779bcfc..3e9424a 100644
--- a/src/gui/MachinaGUI.cpp
+++ b/src/gui/MachinaGUI.cpp
@@ -231,10 +231,10 @@ MachinaGUI::scrolled_window_event(GdkEvent* event)
if (event->type == GDK_KEY_PRESS) {
if (event->key.keyval == GDK_Delete) {
- ItemList selection = _canvas->selected_items();
+ Canvas::Items selection = _canvas->selected_items();
_canvas->clear_selection();
- for (ItemList::iterator i = selection.begin(); i != selection.end(); ++i) {
+ for (Canvas::Items::iterator i = selection.begin(); i != selection.end(); ++i) {
SharedPtr<NodeView> view = PtrCast<NodeView>(*i);
if (view) {
_controller->erase(view->node()->id());
@@ -599,7 +599,7 @@ MachinaGUI::show_labels_toggled()
{
const bool show = _menu_view_labels->get_active();
- for (ItemList::iterator i = _canvas->items().begin(); i != _canvas->items().end(); ++i) {
+ for (Canvas::Items::iterator i = _canvas->items().begin(); i != _canvas->items().end(); ++i) {
const SharedPtr<NodeView> nv = PtrCast<NodeView>(*i);
if (nv)
nv->show_label(show);