13
0

Change the way we call 'Gtk::Main' when building with MSVC

This is just to accommodate the fact that 'command_line_parse_error()' uses pointers to argc & argv
This commit is contained in:
John Emmas 2015-03-17 14:53:53 +00:00
parent a2bcb815ef
commit 247d0493bf

View File

@ -214,7 +214,7 @@ static void console_madness_end () {}
static void command_line_parse_error (int *argc, char** argv[]) {
// Since we don't ordinarily have access to stdout and stderr with
// an MSVC app, let the user know we encountered a parsing error.
Gtk::Main app(&argc, &argv); // Calls 'gtk_init()'
Gtk::Main app(argc, argv); // Calls 'gtk_init()'
Gtk::MessageDialog dlgReportParseError (_("\n Ardour could not understand your command line "),
false, MESSAGE_ERROR, BUTTONS_CLOSE, true);