[Mono-osx] PermFormSelectOnMainThread patch for monomac
Maxi Combina
maxi.combina at passwordbank.com
Mon May 23 18:58:50 EDT 2011
I understand, though I find this a little odd. I think it is perfectly valid
to have a null argument.
Whatever the the committers decide, I would appreciate they let us now, so
that I can use null or have to use a dummy argument.
Regards,
maxi
2011/5/24 Lee V. Andrus <landrus2 at by-rite.net>
> Most wrapper methods in MonoMac assume or require that all class parameters
> are not null--including many for which null is an acceptable (and sometimes
> necessary) value.
>
> Maxi Combina wrote:
> >
> > ...
> > My selector does not take argument, so I use null as argument...
> > and InvokeOnMainThread() fails. If I change
> > monomac/src/Foundation/NSObject.cs:InvokeOnMainThread() to check for
> null,
> > it works.
> >
> > So: could this small change be added? Or is it mandatory to pass a
> > non-null
> > paramter to InvokeOnMainThread()?
> > ...
> >
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/PermFormSelectOnMainThread-patch-for-monomac-tp3543684p3545677.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
--
*Maxi Combina*
Cell:+1 408 300 3614
Tel: +1 408 524 1579
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
<http://www.passwordbank.com/>www.PasswordBank.com<http://www.passwordbank.com/>
This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/28c073d9/attachment.html
More information about the Mono-osx
mailing list