patch from brian to get consistent menu behaviour
[ardour.git] / gtk2_ardour / route_ui.h
index 7415eddad6b58367eb13217da207e515c4e91a4e..ea860419860883ad8496b2c713fb647571654de1 100644 (file)
@@ -57,7 +57,7 @@ class RouteUI : public virtual AxisView
        ARDOUR::Track*      track() const;
        ARDOUR::AudioTrack* audio_track() const;
        
-       ARDOUR::Diskstream* get_diskstream() const;
+       boost::shared_ptr<ARDOUR::Diskstream> get_diskstream() const;
 
        string name() const;
 
@@ -87,11 +87,11 @@ class RouteUI : public virtual AxisView
 
        XMLNode* get_child_xml_node (const string & childname);
        
-       gint mute_press(GdkEventButton*);
-       gint mute_release(GdkEventButton*);
-       gint solo_press(GdkEventButton*);
-       gint solo_release(GdkEventButton*);
-       gint rec_enable_press(GdkEventButton*);
+       bool mute_press(GdkEventButton*);
+       bool mute_release(GdkEventButton*);
+       bool solo_press(GdkEventButton*);
+       bool solo_release(GdkEventButton*);
+       bool rec_enable_press(GdkEventButton*);
 
        void solo_changed(void*);
        void mute_changed(void*);