diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-02 17:50:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-02 17:50:37 +0000 |
commit | 83f385d26336f58c1b2e3ce49c609fe86878b56d (patch) | |
tree | 5cc50c4afd705ad83ee4455bd4547eaffc7e7895 /gtk2_ardour/ardour_ui_ed.cc | |
parent | add91aa2d723c15148d83dae7c8178ee6102146e (diff) |
audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index b762348f1d..a7cbb22dfd 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -591,7 +591,7 @@ ARDOUR_UI::setup_clock () big_clock_window->get()->set_keep_above (true); big_clock_window->get()->set_border_width (0); - big_clock_window->get()->add (big_clock); + big_clock_window->get()->add (*big_clock); big_clock_window->get()->set_title (_("Big Clock")); big_clock_window->get()->set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY); @@ -614,7 +614,7 @@ ARDOUR_UI::big_clock_realized () original_big_clock_height = big_clock_height; original_big_clock_width = w; - Pango::FontDescription fd (big_clock.get_style()->get_font()); + Pango::FontDescription fd (big_clock->get_style()->get_font()); original_big_clock_font_size = fd.get_size (); if (!fd.get_size_is_absolute ()) { @@ -651,7 +651,7 @@ ARDOUR_UI::idle_big_clock_text_resizer (int, int) big_clock_resize_in_progress = false; Glib::RefPtr<Gdk::Window> win = big_clock_window->get()->get_window(); - Pango::FontDescription fd (big_clock.get_style()->get_font()); + Pango::FontDescription fd (big_clock->get_style()->get_font()); int current_size = fd.get_size (); int x, y, w, h, d; @@ -674,9 +674,9 @@ ARDOUR_UI::idle_big_clock_text_resizer (int, int) try { Pango::FontDescription fd (buf); - Glib::RefPtr<Gtk::RcStyle> rcstyle = big_clock.get_modifier_style (); + Glib::RefPtr<Gtk::RcStyle> rcstyle = big_clock->get_modifier_style (); rcstyle->set_font (fd); - big_clock.modify_style (rcstyle); + big_clock->modify_style (rcstyle); } catch (...) { |