The best approach here is to call gda_init() in your module init function and then let the library worry about the rest. It's usually a bad idea to copy code from a library into a wrapper.I put these in because they came from gda_init() which is never called in
the python module. Note that I did had set GETTEXT_PACKAGE to libgda-2,
too. The idea obviously was that libgda warnings or errors be localized.
Yes, I regenerated the defs file, and added your BoxedTypes definitionsh2defs.py is not perfect, it happens from time to time that it does not pick up stuff from headers properly, especially if you're not using the gtk+ coding style.
to it. I don't know what's normal, but I guessed that h2defs.py would
create correct .defs, and it seems to work.
With your .defs, I got a lot of error messages during generation.
This is usally normal, by default it prints lots of errors on standard error, which is useful for developers, but confusing for end users.
Johan _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
