[Mono-osx] PermFormSelectOnMainThread patch for monomac
kjpou
kjpou at pt.lu
Tue May 24 05:03:04 EDT 2011
Maxi
Como estas?
I already committed your change and am only waiting for Miguel or maybe
Kangaroo to approve it.
The null is an acceptable value with no problems. I have had to change
quite a few of those methods to allow null.
Kenneth
On 5/24/11 12:58 AM, Maxi Combina wrote:
> 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
> <mailto: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 <mailto: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
>
> 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.
>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/4de629fd/attachment.html
More information about the Mono-osx
mailing list