summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-03-15 22:35:18 +0000
committerDavid Robillard <d@drobilla.net>2014-03-15 22:35:18 +0000
commitddbce4eab17e23636e2ce9ffee5b4f1c16f3722a (patch)
tree9501892dba8b35116f8c645c1d5de422aefd3dbf
parent06af6bea1308d4fbf82f54ea4e7c6f8c8c33b3bd (diff)
downloadingen-ddbce4eab17e23636e2ce9ffee5b4f1c16f3722a.tar.gz
ingen-ddbce4eab17e23636e2ce9ffee5b4f1c16f3722a.tar.bz2
ingen-ddbce4eab17e23636e2ce9ffee5b4f1c16f3722a.zip
Clean up public canvas interface.
Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5338 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/GraphBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 081cf413..ad9aea56 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -651,7 +651,7 @@ GraphBox::event_zoom_out()
void
GraphBox::event_zoom_normal()
{
- _view->canvas()->set_scale(1.0, _view->canvas()->get_default_font_size());
+ _view->canvas()->set_zoom(1.0);
}
void