aboutsummaryrefslogtreecommitdiffstats
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
commit0c27d331f28dd09db461bdc5ab687d206f27f2cb (patch)
tree67ec0fd6ec930da0d6a5d06889610042989e5b99
parent7067d399fa44e28aea65eac5127f54de4ece643c (diff)
downloadmachina-0c27d331f28dd09db461bdc5ab687d206f27f2cb.tar.gz
machina-0c27d331f28dd09db461bdc5ab687d206f27f2cb.tar.bz2
machina-0c27d331f28dd09db461bdc5ab687d206f27f2cb.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/machina@5338 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/MachinaGUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp
index 4f26c66..ff7095d 100644
--- a/src/gui/MachinaGUI.cpp
+++ b/src/gui/MachinaGUI.cpp
@@ -627,7 +627,7 @@ MachinaGUI::on_zoom_out()
void
MachinaGUI::on_zoom_normal()
{
- _canvas->set_scale(1.0, _canvas->get_default_font_size());
+ _canvas->set_zoom(1.0);
}
static void