Merge pull request #4102 from edwin0cheng/style-sym

Use load_symbolic for gtk icon to support styling in tray icon
This commit is contained in:
Alexis Rouillard
2025-06-22 08:29:42 +01:00
committed by GitHub
3 changed files with 24 additions and 10 deletions

View File

@ -10,5 +10,7 @@ class DefaultGtkIconThemeWrapper {
public:
static bool has_icon(const std::string&);
static Glib::RefPtr<Gdk::Pixbuf> load_icon(const char*, int, Gtk::IconLookupFlags);
static Glib::RefPtr<Gdk::Pixbuf> load_icon(
const char*, int, Gtk::IconLookupFlags,
Glib::RefPtr<Gtk::StyleContext> style = Glib::RefPtr<Gtk::StyleContext>());
};