summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r--gtk2_ardour/keyeditor.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc
index fc69d89e28..c93d78497a 100644
--- a/gtk2_ardour/keyeditor.cc
+++ b/gtk2_ardour/keyeditor.cc
@@ -520,16 +520,6 @@ KeyEditor::search_string_updated (const std::string& filter)
void
KeyEditor::print () const
{
- char templ[14];
-
- snprintf (templ, sizeof (templ), "akprintXXXXXX");
-
- int fd = mkstemp (templ);
- ofstream f;
- //f.open (fd);
-
+ // use Glib::file_open_tmp() if needed
Bindings::save_all_bindings_as_html (cerr);
-
- f.close ();
- close (fd);
}