Type of combo-box-get-active-text
Rupert Swarbrick <[email protected]> Thu, 13 Nov 2008 14:37:30 +0000
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1780851421523032866==
Content-Type: multipart/signed; boundary="==-=-=";
micalg=pgp-sha1; protocol="application/pgp-signature"
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="
--=-=-=
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.
Rupert
--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline
*** gtk.lisp.~1.96.~ 2008-11-09 01:07:28.000000000 +0000
--- gtk.lisp 2008-11-13 14:26:11.000000000 +0000
***************
*** 788,794 ****
(text string))
#?(pkg-exists-p "gtk+-2.0" :atleast-version "2.6.0")
! (defbinding combo-box-get-active-text () string
(combo-box combo-box))
(defbinding combo-box-popup () nil
--- 788,794 ----
(text string))
#?(pkg-exists-p "gtk+-2.0" :atleast-version "2.6.0")
! (defbinding combo-box-get-active-text () (values string nil)
(combo-box combo-box))
(defbinding combo-box-popup () nil
--=-=-=--
--==-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iJwEAQECAAYFAkkcO6oACgkQRtd/pJbYVoYhyQP9G7L8om143rDHkVU8coWhi8AQ
pT2O+/eohNouo4CI+CVmIK5FvWbfpSfDPous9kfCj53nJUKYaz2KCO4ENQ77HVga
lKpvnMCKwhVb94OhRrAFLOnCNnxk5K9dBG7HlEUJPeIrY47e2LDJsEi6/7NO8BMW
lWHgn5/BnhRJJgUfZXs=
=j+QE
-----END PGP SIGNATURE-----
--==-=-=--
--===============1780851421523032866==
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=/
--===============1780851421523032866==
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
--===============1780851421523032866==--