From 0c27d331f28dd09db461bdc5ab687d206f27f2cb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Mar 2014 22:35:18 +0000 Subject: 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 --- src/gui/MachinaGUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1