From 247d0493bf91ad7d9be39813353f77d95d9452a2 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Tue, 17 Mar 2015 14:53:53 +0000 Subject: 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 --- gtk2_ardour/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/main.cc') diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 062174a442..998337ed09 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -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); -- cgit v1.2.3