summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2015-03-17 14:53:53 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2015-03-17 14:54:39 +0000
commit247d0493bf91ad7d9be39813353f77d95d9452a2 (patch)
tree19bdee7b54f498a219f00e3a661565d09679b12c /gtk2_ardour/main.cc
parenta2bcb815ef67f473d3885b369e24e59459298b0e (diff)
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
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc2
1 files changed, 1 insertions, 1 deletions
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);