Actually initialize the GTK engine with real command line arguments

This commit is contained in:
Michael Becker 2016-06-16 00:42:49 -04:00
parent c490774627
commit 36afcb98d4

View File

@ -11,8 +11,9 @@ namespace UniversalEditor.Engines.GTK
{
base.InitializeInternal ();
int argc = 0;
string[] argv = new string[0];
string[] argv = System.Environment.GetCommandLineArgs ();
int argc = argv.Length;
bool check = GtkApplication.Initialize (ref argc, ref argv);
}
protected override void MainLoop ()