diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-10 19:39:15 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-10 19:39:15 -0400 |
commit | 233d2e8530fbb9ee5046e1ebcd3dbdfead772c9e (patch) | |
tree | 202d5730fbbd36226215fc2078173746e25e106a /gtk2_ardour/utils.h | |
parent | 9b1cd13706cae80c3e03c1682b22c9ac2061a351 (diff) |
add extra (default-ed) argument to ::get_icon_path() to allow it to be used to look for icon-related but non-image files
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index a99246632e..7f0b285945 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -80,7 +80,7 @@ bool emulate_key_event (Gtk::Widget*, unsigned int); Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string); std::vector<std::string> get_icon_sets (); -std::string get_icon_path (const char*, std::string icon_set = std::string()); +std::string get_icon_path (const char*, std::string icon_set = std::string(), bool is_image = true); Glib::RefPtr<Gdk::Pixbuf> get_icon (const char*, std::string icon_set = std::string()); static std::map<std::string, Glib::RefPtr<Gdk::Pixbuf> > xpm_map; const char* const *get_xpm_data (std::string path); |