From f7e658587354a38f89258dac40b6740e10be4a5f Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Sat, 10 Nov 2018 14:04:01 +0100 Subject: fix compiling on macOS --- src/ui/icon-loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/icon-loader.cpp') diff --git a/src/ui/icon-loader.cpp b/src/ui/icon-loader.cpp index fae3fba70..fa04873a6 100644 --- a/src/ui/icon-loader.cpp +++ b/src/ui/icon-loader.cpp @@ -57,14 +57,14 @@ Glib::RefPtr sp_get_icon_pixbuf(Glib::ustring icon_name, gint size) else { _icon_pixbuf = icon_theme->load_icon(icon_name, size, Gtk::ICON_LOOKUP_FORCE_SIZE); } - g_warning("Icon Loader using a future dead function in this icon: %s", icon_name); + g_warning("Icon Loader using a future dead function in this icon: %s", icon_name.c_str()); } else { _icon_pixbuf = icon_theme->load_icon(icon_name, size, Gtk::ICON_LOOKUP_FORCE_SIZE); } } catch (const Gtk::IconThemeError &e) { - g_warning("Icon Loader error loading icon file: %s", e.what()); + g_warning("Icon Loader error loading icon file: %s", e.what().c_str()); } return _icon_pixbuf; } -- cgit v1.2.3