mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 05:17:06 +00:00
Fix a typo
The GIO function is actually called g_file_new_for_commandline_arg, not _argS svn path=/trunk/gtk-sharp/; revision=136132
This commit is contained in:
parent
f84bc5f1ac
commit
2332db49a2
|
@ -49,11 +49,11 @@ namespace GLib
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport ("libgio-2.0-0.dll")]
|
[DllImport ("libgio-2.0-0.dll")]
|
||||||
private static extern IntPtr g_file_new_for_commandline_args (string args);
|
private static extern IntPtr g_file_new_for_commandline_arg (string arg);
|
||||||
|
|
||||||
public static File NewForCommandlineArgs (string args)
|
public static File NewFromCommandlineArg (string arg)
|
||||||
{
|
{
|
||||||
return GLib.FileAdapter.GetObject (g_file_new_for_commandline_args (args), false) as File;
|
return GLib.FileAdapter.GetObject (g_file_new_for_commandline_arg (arg), false) as File;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue