show() widgets explicitly, one little file at a time
[ardour.git] / gtk2_ardour / panner2d.h
index ff81ea398719b0c4c1155a4462c99a52d7c8daf3..fb4929ad2d30685602fa6e694132b485632d5001 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_panner_2d_h__
@@ -47,7 +46,7 @@ namespace Pango {
 class Panner2d : public Gtk::DrawingArea
 {
   public:
-       Panner2d (ARDOUR::Panner&, int32_t width, int32_t height);
+       Panner2d (ARDOUR::Panner&, int32_t height);
        ~Panner2d ();
        
        int puck_position (int which_puck, float& x, float& y);
@@ -78,7 +77,7 @@ class Panner2d : public Gtk::DrawingArea
        bool on_button_press_event (GdkEventButton *);
        bool on_button_release_event (GdkEventButton *);
        bool on_motion_notify_event (GdkEventMotion *);
-       void on_size_allocate (Gtk::Allocation alloc);
+       void on_size_allocate (Gtk::Allocation& alloc);
 
   private:
        struct Target {