diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-18 00:09:59 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-18 00:16:27 +0000 |
| commit | e14bcc5770c46cc7e813bfcda6afdbe6d97bebe2 (patch) | |
| tree | 231b1d2810c293dbe153600a1ee287777eb193d8 /src/ui/icon-loader.cpp | |
| parent | Base of theming refactor (diff) | |
| download | inkscape-e14bcc5770c46cc7e813bfcda6afdbe6d97bebe2.tar.gz inkscape-e14bcc5770c46cc7e813bfcda6afdbe6d97bebe2.zip | |
Fix compiling issues
Diffstat (limited to 'src/ui/icon-loader.cpp')
| -rw-r--r-- | src/ui/icon-loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/icon-loader.cpp b/src/ui/icon-loader.cpp index 54cdd9e6b..f69d3148d 100644 --- a/src/ui/icon-loader.cpp +++ b/src/ui/icon-loader.cpp @@ -65,7 +65,7 @@ Glib::RefPtr<Gdk::Pixbuf> sp_get_icon_pixbuf(Glib::ustring icon_name, gint size) if (iconinfo && SP_ACTIVE_DESKTOP->getToplevel()) { bool was_symbolic = false; Glib::RefPtr< Gtk::StyleContext > stylecontext = SP_ACTIVE_DESKTOP->getToplevel()->get_style_context(); - stylecontext->add_provider(INKSCAPE.colorizeprovider, 1); + stylecontext->add_provider(INKSCAPE.colorizeprovider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); _icon_pixbuf = iconinfo.load_symbolic(stylecontext, was_symbolic); } else { Gtk::IconInfo iconinfo = icon_theme->lookup_icon(icon_name, size, Gtk::ICON_LOOKUP_FORCE_SIZE); |
