diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2018-11-10 13:04:01 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-11-10 13:04:01 +0000 |
| commit | f7e658587354a38f89258dac40b6740e10be4a5f (patch) | |
| tree | 989eb77f227f97550c98c85426dc884b76d975ea /src/ui/icon-loader.cpp | |
| parent | license check: use exceptions (diff) | |
| download | inkscape-f7e658587354a38f89258dac40b6740e10be4a5f.tar.gz inkscape-f7e658587354a38f89258dac40b6740e10be4a5f.zip | |
fix compiling on macOS
Diffstat (limited to 'src/ui/icon-loader.cpp')
| -rw-r--r-- | src/ui/icon-loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Gdk::Pixbuf> 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; } |
