diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/MachinaGUI.cpp | 6 |
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); |