From dfad81a3c8aee40a515f0ecefb0180a86368b54a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Feb 2013 20:07:09 +0000 Subject: Remove Raul::fmt wrapper, the last vestige of boost dependency for Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5077 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/App.cpp') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index e64465ea..5a04ebf6 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -241,7 +241,7 @@ App::property_change(const Raul::URI& subject, { if (subject == uris().ingen_engine && key == uris().ingen_sampleRate) { if (value.type() == forge().Int) { - log().info(Raul::fmt("Sample rate: %1%\n") % uris().forge.str(value)); + log().info(fmt("Sample rate: %1%\n") % uris().forge.str(value)); _sample_rate = value.get(); } else { log().error("Engine sample rate property is not an integer\n"); @@ -354,9 +354,9 @@ App::quit(Gtk::Window* dialog_parent) try { const std::string path = _world->conf().save( _world->uri_map(), "ingen", "gui.ttl", Configuration::GUI); - cout << (Raul::fmt("Saved GUI settings to %1%\n") % path); + cout << (fmt("Saved GUI settings to %1%\n") % path); } catch (const std::exception& e) { - cerr << (Raul::fmt("Error saving GUI settings (%1%)\n") + cerr << (fmt("Error saving GUI settings (%1%)\n") % e.what()); } @@ -395,7 +395,7 @@ App::icon_from_path(const string& path, int size) new IconDestroyNotification(*this, make_pair(path, size)), &App::icon_destroyed); } catch (const Glib::Error& e) { - log().warn(Raul::fmt("Error loading icon %1%: %2%\n") + log().warn(fmt("Error loading icon %1%: %2%\n") % path % e.what()); } return buf; -- cgit v1.2.1