Re: gtk.defs

Andrew Cowie <[email protected]> Mon, 16 Nov 2009 14:04:28 +1100
Newsgroups gmane.comp.gnome.language-bindings
Organization Operational Dynamics
Message-ID <1258340668.7988.19.camel@moonglow.roaming.operationaldynamics.com>
--===============1125371571==
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hlLIc0GFKX5CyxeuntKB"


--=-hlLIc0GFKX5CyxeuntKB
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, 2009-11-15 at 21:37 +0100, Gergely Buday wrote:
> I'm to revive a language binding and have a question: where is the
> authorative version of the gtk.defs file?=20

The original source we used in java-gnome was the .defs data in pygtk.
Since then people have brought in bits and pieces from elsewhere,
occasionally parsing from header files and occasionally hand-writing.

The pygtk community's .defs data was very comprehensive, but it did have
some python-specific foibles (only having one function marked as
constructor, that sort of thing). No big deal.

Originally we were syncing with them, but we've since forked it a bit
and add things from time to time. Nothing overly huge; Had to fix
(caller-owns-return) here and there; we augmented tuned the syntax for
GLists to mark the actual type they are conveying, and for special cases
what additional header files had to be #included, stuff like that.

I really couldn't say at this point how much of it is java-gnome
specific [after a while we started getting aggressive about marking
stuff that was deprecated or unused], but if you want to compare and
contrast you'll find our .defs data is in our source tree under
src/defs/, one file per type. See
http://java-gnome.sourceforge.net/4.0/HACKING.html for instructions on
how to get a branch of 'mainline', or just browse
http://research.operationaldynamics.com/bzr/java-gnome/mainline/src/defs/

AfC
Sydney


--=20
Andrew Frederick Cowie

Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management: enabling
successful deployment of mission critical information technology in
enterprises, worldwide.

http://www.operationaldynamics.com/

--=-hlLIc0GFKX5CyxeuntKB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

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

iEYEABECAAYFAksAwTwACgkQLVETDFf25728xgCcD7Gl60oHb+N5gv6Y55Rh8OCC
t5AAnirZfqse2cuqJ33Wq3fvXg7yjOoG
=eFq6
-----END PGP SIGNATURE-----

--=-hlLIc0GFKX5CyxeuntKB--


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

_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings

--===============1125371571==--