summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 18:17:47 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 18:17:47 +0000
commit88cff5320290010b5f35b8dcbd40c63317956d62 (patch)
treec676741093193c36ef0dd2bed054776b8c750f30 /src/libs/gui
parent91ca84684151a67b8e3e1e859b3167e9f687d4d4 (diff)
downloadingen-88cff5320290010b5f35b8dcbd40c63317956d62.tar.gz
ingen-88cff5320290010b5f35b8dcbd40c63317956d62.tar.bz2
ingen-88cff5320290010b5f35b8dcbd40c63317956d62.zip
Added missing interface/Patch.hpp.
Serialize variables in a sane way for a change. git-svn-id: http://svn.drobilla.net/lad/ingen@853 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/PatchCanvas.cpp6
-rw-r--r--src/libs/gui/UploadPatchWindow.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp
index 3f0e2716..74000b79 100644
--- a/src/libs/gui/PatchCanvas.cpp
+++ b/src/libs/gui/PatchCanvas.cpp
@@ -465,11 +465,11 @@ PatchCanvas::copy_selection()
for (list<boost::shared_ptr<Item> >::iterator m = _selected_items.begin(); m != _selected_items.end(); ++m) {
boost::shared_ptr<NodeModule> module = boost::dynamic_pointer_cast<NodeModule>(*m);
if (module) {
- serialiser.serialize(module->node());
+ serialiser.serialise(module->node());
} else {
boost::shared_ptr<PatchPortModule> port_module = boost::dynamic_pointer_cast<PatchPortModule>(*m);
if (port_module)
- serialiser.serialize(port_module->port());
+ serialiser.serialise(port_module->port());
}
}
@@ -477,7 +477,7 @@ PatchCanvas::copy_selection()
c != _selected_connections.end(); ++c) {
boost::shared_ptr<Connection> connection = boost::dynamic_pointer_cast<Connection>(*c);
if (connection)
- serialiser.serialize_connection(connection->model());
+ serialiser.serialise_connection(connection->model());
}
string result = serialiser.finish();
diff --git a/src/libs/gui/UploadPatchWindow.cpp b/src/libs/gui/UploadPatchWindow.cpp
index 57045a91..959bb1ae 100644
--- a/src/libs/gui/UploadPatchWindow.cpp
+++ b/src/libs/gui/UploadPatchWindow.cpp
@@ -251,7 +251,7 @@ UploadPatchWindow::upload_clicked()
Serialiser s(*App::instance().world()->rdf_world);
s.start_to_string();
- s.serialize(_patch);
+ s.serialise(_patch);
const string str = s.finish();
istringstream stream(str);