X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fkeyeditor.h;h=aedd41d4f21afe76fe26068f95e9f1157bfdff5e;hb=d9dc2592d02924718d9f181dbbca423a5eac364f;hp=a5662333ce2e5e2a115a47fe68c563595bba6d20;hpb=eaddf752c7106d33bf6730a591c10705a46ba172;p=ardour.git diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h index a5662333ce..aedd41d4f2 100644 --- a/gtk2_ardour/keyeditor.h +++ b/gtk2_ardour/keyeditor.h @@ -45,6 +45,10 @@ class KeyEditor : public ArdourWindow static sigc::signal UpdateBindings; + void disconnect () { + _refresh_connection.disconnect (); + } + private: class Tab : public Gtk::VBox { @@ -108,6 +112,7 @@ class KeyEditor : public ArdourWindow Gtkmm2ext::SearchBar filter_entry; std::string filter_string; Gtk::Button print_button; + Gtk::Label print_label; typedef std::vector Tabs; @@ -124,6 +129,8 @@ class KeyEditor : public ArdourWindow void toggle_sort_type (); void search_string_updated (const std::string&); void print () const; + + sigc::connection _refresh_connection; }; #endif /* __ardour_gtk_key_editor_h__ */