From a2fead98e52d28db627303fb8df03d1f5af7d733 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 10 Nov 2018 11:02:10 +0100 Subject: Chage std::cout to g_warning --- 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 d42cb7837..fae3fba70 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); } - std::cout << "Icon Loader using a future dead function in this icon: " << icon_name << std::endl; + g_warning("Icon Loader using a future dead function in this icon: %s", icon_name); } else { _icon_pixbuf = icon_theme->load_icon(icon_name, size, Gtk::ICON_LOOKUP_FORCE_SIZE); } } catch (const Gtk::IconThemeError &e) { - std::cout << "Icon Loader error loading icon file: " << e.what() << std::endl; + g_warning("Icon Loader error loading icon file: %s", e.what()); } return _icon_pixbuf; } -- cgit v1.2.3