summaryrefslogtreecommitdiff
path: root/gtk2_ardour/piano_roll_header.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
commitb65f8073ba306ac2d85133875746767e7c6b0eb6 (patch)
tree86e598b4cfe92aa8eaca558b85e1a4c397fa3f0e /gtk2_ardour/piano_roll_header.cc
parentf41149628955fc8145bef6db0c110b71664c0a3a (diff)
Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/piano_roll_header.cc')
-rw-r--r--gtk2_ardour/piano_roll_header.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/piano_roll_header.cc b/gtk2_ardour/piano_roll_header.cc
index e946aa3dfb..9a7b86396f 100644
--- a/gtk2_ardour/piano_roll_header.cc
+++ b/gtk2_ardour/piano_roll_header.cc
@@ -91,7 +91,7 @@ create_path(Cairo::RefPtr<Cairo::Context> cr, double x[], double y[], int start,
}
inline void
-render_rect(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_rect(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
{
cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -108,7 +108,7 @@ render_rect(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
}
inline void
-render_cf(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_cf(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
{
cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -125,7 +125,7 @@ render_cf(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
}
inline void
-render_eb(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_eb(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
{
cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -146,7 +146,7 @@ render_eb(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
}
inline void
-render_dga(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_dga(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
{
cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -562,7 +562,7 @@ PianoRollHeader::on_leave_notify_event (GdkEventCrossing*)
}
bool
-PianoRollHeader::on_scroll_event (GdkEventScroll* ev)
+PianoRollHeader::on_scroll_event (GdkEventScroll*)
{
return true;
}