From 10e9a3a800a35916872abf9e354be4c554338e4e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2013 04:47:21 +0000 Subject: Use type safe enumerations. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NewSubgraphWindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/NewSubgraphWindow.cpp') diff --git a/src/gui/NewSubgraphWindow.cpp b/src/gui/NewSubgraphWindow.cpp index a748de8d..f2457843 100644 --- a/src/gui/NewSubgraphWindow.cpp +++ b/src/gui/NewSubgraphWindow.cpp @@ -98,13 +98,15 @@ NewSubgraphWindow::ok_clicked() props.insert(make_pair(_app->uris().rdf_type, Resource::Property(_app->uris().ingen_Graph))); props.insert(make_pair(_app->uris().ingen_polyphony, _app->forge().make(int32_t(poly)))); props.insert(make_pair(_app->uris().ingen_enabled, _app->forge().make(bool(true)))); - _app->interface()->put(Node::path_to_uri(path), props, Resource::INTERNAL); + _app->interface()->put( + Node::path_to_uri(path), props, Resource::Graph::INTERNAL); // Set external (block perspective) properties props = _initial_data; props.insert(make_pair(_app->uris().rdf_type, Resource::Property(_app->uris().ingen_Graph))); - _app->interface()->put(Node::path_to_uri(path), _initial_data, Resource::EXTERNAL); + _app->interface()->put( + Node::path_to_uri(path), _initial_data, Resource::Graph::EXTERNAL); hide(); } -- cgit v1.2.1