summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-14 16:21:43 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-14 16:21:43 +0000
commit0d6c5f78e9b7986afb220c559015da53a36e4e03 (patch)
tree59d81d0cee6884a7f6208af5012863e8da86ffe1 /gtk2_ardour/utils.h
parentb7f645cbe633cf1235c5bc28df7f93254b3a15f0 (diff)
fix for crash when loading a session after running another, caused by not checking for _view != 0 in route_time_axis.cc; make fit_to_pixels() more useful and use it to truncate redirect and redirect parameters names in track control area
git-svn-id: svn://localhost/ardour2/trunk@1212 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index 244e45d260..6d5ff0702d 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -53,7 +53,7 @@ slider_position_to_gain (double pos)
return pow (2.0,(sqrt(sqrt(sqrt(pos)))*198.0-192.0)/6.0);
}
-Glib::ustring fit_to_pixels (const Glib::ustring&, int pixel_width, Pango::FontDescription& font, int& actual_width);
+Glib::ustring fit_to_pixels (const Glib::ustring&, int pixel_width, Pango::FontDescription& font, int& actual_width, bool with_ellipses = false);
gint just_hide_it (GdkEventAny*, Gtk::Window*);
void allow_keyboard_focus (bool);