summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-13 06:05:18 +0000
committerDavid Robillard <d@drobilla.net>2013-01-13 06:05:18 +0000
commit87f207c9cf4f27ff8841764a202ad9f79419dcb4 (patch)
tree388503beefcf2216bb8fa34cde7a6e54551ee556 /src
parentcde0c55db1b96cd925314e66d19556e0c57b97a6 (diff)
downloadganv-87f207c9cf4f27ff8841764a202ad9f79419dcb4.tar.gz
ganv-87f207c9cf4f27ff8841764a202ad9f79419dcb4.tar.bz2
ganv-87f207c9cf4f27ff8841764a202ad9f79419dcb4.zip
ganv_canvas_destroy => ganv_canvas_clear.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4952 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 7daf8e7..61e4376 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -1498,7 +1498,7 @@ Canvas::Canvas(double width, double height)
Canvas::~Canvas()
{
_animate_connection.disconnect();
- destroy();
+ clear();
delete impl();
}
@@ -2051,7 +2051,7 @@ ganv_canvas_port_event(GanvCanvas* canvas,
}
void
-ganv_canvas_destroy(GanvCanvas* canvas)
+ganv_canvas_clear(GanvCanvas* canvas)
{
canvas->impl->_selected_items.clear();
canvas->impl->_selected_edges.clear();