summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-12-02 19:18:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-12-02 19:18:26 +0000
commit3436df6eabaefa19b2572a2765e6d8ac08942c9d (patch)
treef2dd8e9108a6e5d3bcb9984e6c8ea05861a8ce10 /gtk2_ardour/utils.cc
parent7aee3d6fbf0fedc8c34def2461fc8064d2cc654c (diff)
the usual blob of fixes. note the requirement for ComboBoxText::set_active_text()
git-svn-id: svn://localhost/trunk/ardour2@160 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc
index 9d1966b10e..e34bb46a2d 100644
--- a/gtk2_ardour/utils.cc
+++ b/gtk2_ardour/utils.cc
@@ -409,9 +409,11 @@ url_decode (string& url)
Pango::FontDescription
get_font_for_style (string widgetname)
{
+ Gtk::Window window (WINDOW_TOPLEVEL);
Gtk::Label foobar;
Glib::RefPtr<Style> style;
+ window.add (foobar);
foobar.set_name (widgetname);
foobar.ensure_style();