diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-03 21:02:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-03 21:02:29 +0000 |
commit | 9decb3e027b402438471f357d5a17f4c5190a039 (patch) | |
tree | aef074cdfe656708cebd622941a55c5f9ad91f70 /gtk2_ardour/utils.h | |
parent | 133a66920bbdd3bc11bd4ae866048b0f1f52ecd4 (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/trunk@2100 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); |