Re: Type of combo-box-get-active-text

Rupert Swarbrick <[email protected]> Thu, 13 Nov 2008 14:51:15 +0000
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
--===============4256553591499172578==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"

--=-=-=

Rupert Swarbrick <[email protected]> writes:

> If one calls combo-box-get-active-text on a combo with no selection, it
> returns NULL/nil, which contradicts the type specification. The
> following (trivial) patch fixes this.

*sigh* No it doesn't. I meant (or string null), but that doesn't work
either since %defbinding actually uses from-alien-form to turn the
return value into something lisp understands... and isn't specialised
for (or string null) (of course).

Can anyone tell me what the correct thing to do in this case is?

Rupert

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAkkcPuQACgkQRtd/pJbYVoZH+QP/ffN2StWwcQ77yzPDDh/XFqKQ
If6JP0c22u9Sl1WWvV+zbxl95jloIlnzHzXg3R2Xh1PN9v0/fH/Cb5qm2Le6OTie
4qo1Tadhsp2SwP0Ua0/aa0pb62OwJ/7aCcr7yKmbXJBPC9XwQH/NwVFjJWVKRukE
xJDCVJs06lX46CbXjtY=
=KeGk
-----END PGP SIGNATURE-----
--=-=-=--



--===============4256553591499172578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--===============4256553591499172578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Clg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clg-devel

--===============4256553591499172578==--