diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-03 20:56:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-03 20:56:33 +0000 |
commit | 3e70b965971ca2b08dad5f76c58f5d13ebc20a2c (patch) | |
tree | c9775d3ca39acadb28daaa39156a3b15c2230591 /gtk2_ardour/utils.h | |
parent | 3239d42bdfa5278bce3b9eeab3cb3f20426cd685 (diff) |
remove static Pango::FontDescriptions, they cause glib errors because of initialization before Glib::thread_init() has been called
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2099 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 7e26ba066c..cae78f3d0a 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -63,7 +63,7 @@ unsigned char* xpm2rgba (const char** xpm, uint32_t& w, uint32_t& h); ArdourCanvas::Points* get_canvas_points (std::string who, uint32_t npoints); -Pango::FontDescription get_font_for_style (std::string widgetname); +Pango::FontDescription* get_font_for_style (std::string widgetname); uint32_t rgba_from_style (std::string, uint32_t, uint32_t, uint32_t, uint32_t, std::string = "fg", int = Gtk::STATE_NORMAL, bool = true); |