diff options
author | David Robillard <d@drobilla.net> | 2014-04-27 15:56:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-04-27 15:56:55 +0000 |
commit | ff0d4aa6135a808e5ea526b3659ac40488806cec (patch) | |
tree | a8c798b99df571299d7279ee9a864de5685e82b0 | |
parent | 387afdd8eb34824f8b7491991dc85a97bed12c31 (diff) | |
download | ingen-ff0d4aa6135a808e5ea526b3659ac40488806cec.tar.gz ingen-ff0d4aa6135a808e5ea526b3659ac40488806cec.tar.bz2 ingen-ff0d4aa6135a808e5ea526b3659ac40488806cec.zip |
Add support for sprung layout to Patchage.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5379 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/GraphBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index d2b6b84f..511dec73 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -264,7 +264,7 @@ GraphBox::set_graph(SPtr<const GraphModel> graph, graph->signal_property().connect( sigc::mem_fun(this, &GraphBox::property_changed)); - if (ganv_canvas_supports_sprung_layout(_view->canvas()->gobj())) { + if (_view->canvas()->supports_sprung_layout()) { _menu_sprung_layout->set_active(true); } else { _menu_sprung_layout->set_active(false); @@ -768,7 +768,7 @@ GraphBox::event_sprung_layout_toggled() { const bool sprung = _menu_sprung_layout->get_active(); - ganv_canvas_set_sprung_layout(_view->canvas()->gobj(), sprung); + _view->canvas()->set_sprung_layout(sprung); Resource::Properties properties; properties.insert(make_pair(_app->uris().ingen_sprungLayout, |