mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 11:55:30 +00:00
2004-04-12 Mike Kestner <mkestner@ximian.com>
* gnome/Program.custom : add ArgumentException for app_id containing spaces. [fixes #56594] svn path=/trunk/gtk-sharp/; revision=25374
This commit is contained in:
parent
3eacb4f47a
commit
3439b34bda
|
@ -1,3 +1,8 @@
|
|||
2004-04-12 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gnome/Program.custom : add ArgumentException for app_id containing
|
||||
spaces. [fixes #56594]
|
||||
|
||||
2004-04-12 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
[Rework of a patch from Ben Maurer to turn GLib.Value
|
||||
|
|
|
@ -23,6 +23,9 @@ gtksharp_gnome_program_init (string app_id, string app_version, ref ModuleInfo m
|
|||
|
||||
public Program (string app_id, string app_version, ModuleInfo module, string[] argv, params object[] props) : base (IntPtr.Zero)
|
||||
{
|
||||
if (app_id.IndexOf (" ") > 0)
|
||||
throw new ArgumentException ("app_id argument can't contain spaces.");
|
||||
|
||||
int nargs = props.Length / 2;
|
||||
PropertyArg[] args = new PropertyArg[nargs];
|
||||
GLib.Value[] vals = new GLib.Value[nargs];
|
||||
|
|
Loading…
Reference in a new issue