Fix uninitialized variable
[ardour.git] / gtk2_ardour / region_editor.h
index 9417ddfdd7ef3aa80cb72f8c1d31d7f05292949f..888ab8afb38526598b89bd85d90ba0221d60f71b 100644 (file)
@@ -35,7 +35,6 @@
 #include <gtkmm/spinbutton.h>
 #include <gtkmm/listviewtext.h>
 
-#include <libgnomecanvas/libgnomecanvas.h>
 
 #include "pbd/signals.h"
 
@@ -52,17 +51,17 @@ class ClockGroup;
 
 class RegionEditor : public ArdourDialog
 {
-  public:
+public:
        RegionEditor (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Region>);
        virtual ~RegionEditor ();
 
-  protected:   
+protected:
        virtual void region_changed (const PBD::PropertyChange&);
-       
+
        Gtk::Table _table;
        int _table_row;
 
-  private:
+private:
        boost::shared_ptr<ARDOUR::Region> _region;
 
        void connect_editor_events ();
@@ -78,7 +77,7 @@ class RegionEditor : public ArdourDialog
        Gtk::Label sync_absolute_label;
        Gtk::Label start_label;
 
-        ClockGroup* _clock_group;
+       ClockGroup* _clock_group;
 
        AudioClock position_clock;
        AudioClock end_clock;
@@ -116,6 +115,8 @@ class RegionEditor : public ArdourDialog
 
        Gtk::Label _sources_label;
        Gtk::ListViewText _sources;
+
+       void set_clock_mode_from_primary ();
 };
 
 #endif /* __gtk_ardour_region_edit_h__ */