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:
Stephane Delcroix 2009-06-15 15:14:23 +00:00
parent f84bc5f1ac
commit 2332db49a2

View File

@ -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;
} }
} }
} }