summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-07 01:44:47 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-07 01:44:47 +0000
commit668c8b1f9e1df57e749e93953918832a38b17e23 (patch)
treead16fe6c9874e19736612b1dd39838c0867a71b3 /gtk2_ardour/port_matrix_component.h
parent790d9042c644843f8105c714fad641dd17b7d722 (diff)
Pass whole GdkEventButton into port matrix button
press/release handlers, rather than just selected highlights. Remove port in the port matrix on Keyboard is_delete_event (part of #4536). git-svn-id: svn://localhost/ardour2/branches/3.0@10920 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.h')
-rw-r--r--gtk2_ardour/port_matrix_component.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix_component.h b/gtk2_ardour/port_matrix_component.h
index a574d20341..c61d7ec67d 100644
--- a/gtk2_ardour/port_matrix_component.h
+++ b/gtk2_ardour/port_matrix_component.h
@@ -50,8 +50,8 @@ public:
virtual double parent_to_component_y (double y) const = 0;
virtual void mouseover_changed (std::list<PortMatrixNode> const &) = 0;
virtual void draw_extra (cairo_t *) = 0;
- virtual void button_press (double, double, int, uint32_t, guint) {}
- virtual void button_release (double, double, int, uint32_t, guint) {}
+ virtual void button_press (double, double, GdkEventButton *) {}
+ virtual void button_release (double, double, GdkEventButton *) {}
virtual void motion (double, double) {}
void set_show_ports (bool);