fix windows builds & remove cruft
[ardour.git] / gtk2_ardour / keyeditor.cc
index fc69d89e2867d171de432ef11da384e764c909c2..c93d78497ad5522f47e38c26acfe2906556b6435 100644 (file)
@@ -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);
 }