incomplete work on mixer window treeview port
[ardour.git] / gtk2_ardour / main.cc
index 40f29823bf600e0701138beede1a7c705ef1fa67..76306d36a14bc91a3d3397026893cc4e29f726af 100644 (file)
@@ -306,8 +306,8 @@ Please consider the possibilities, and perhaps (re)start JACK."));
        win.set_border_width (7);
        win.add (vpacker);
        win.show_all ();
-       win.delete_event.connect (sigc::ptr_fun (jack_fooey));
-       win.add_events (Gdk::BUTTON_RELEASE_MASK|Gdk::BUTTON_PRESS_MASK);
+       win.signal_delete_event().connect (sigc::ptr_fun (jack_fooey));
+       win.signal_add_event()s (Gdk::BUTTON_RELEASE_MASK|Gdk::BUTTON_PRESS_MASK);
        win.set_position (GTK_WIN_POS_CENTER);
        win.realize ();
        win.get_window().set_decorations (GdkWMDecoration (GDK_DECOR_BORDER|GDK_DECOR_RESIZEH));
@@ -445,7 +445,7 @@ main (int argc, char *argv[])
                                           once everything else is OK.
                                        */
 
-                                       Main::idle.connect (bind (slot (*ui, &ARDOUR_UI::cmdline_new_session), path));
+                                       Main::idle.connect (bind (mem_fun (*ui, &ARDOUR_UI::cmdline_new_session), path));
                                        ui->set_will_create_new_session_automatically (true);
 
                                } else {