[gnome-bluetooth] libbtctl changes
Bastien Nocera
hadess at hadess.net
Fri Sep 26 01:35:24 BST 2003
Replying to myself,
Attached is another patch (without a ChangeLog just yet :)
The python bindings didn't work, and they do now.
- rename Btctl and BtctlClass to BtctlObject and BtctlObjectClass so
that they're namespaced (fixes the bindings generation)
- fixed the prototypes of the signals in btctl.h
- made btctl_object_get_type return a GType (would have ended with
issues on 64-bit platforms)
- added btlist.py (same as btlist.c, used to test the python bindings)
- fix the python module linking
Let me know what you think (especially as it breaks bin-compat...)
Cheers
On Thu, 2003-09-25 at 20:11, Bastien Nocera wrote:
> > > Python bindings attached. Can I commit?
> >
> > I was pondering bindings the other day, this is cool.
> >
> > The Makefile.am stuff hardwires python2.2. Can't you use AM_PATH_PYTHON
> > in configure.in, then build the right path with PYTHON_PREFIX and
> > PYTHON_VERSION ?
>
> Done.
>
> > Can you also add a changelog entry? Thanks.
>
> That was implied, yes :)
>
> > Incidentally the admin tool I'm about to check in uses Python, but it
> > uses the bonobo object instead of hitting libbtctl direct.
>
> Hehe, good luck.
>
> I have committed the patch right now, if you bear with me, I'll probably
> polish these a bit later on, they're a bit rough at the moment.
---
Bastien Nocera <hadess at hadess.net>
If your boss is getting you down, look at him through the prongs of a
fork and imagine him in jail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbtctl-py-bindings-2.patch
Type: text/x-patch
Size: 27159 bytes
Desc: not available
Url : http://lists.usefulinc.com/pipermail/gnome-bluetooth/attachments/20030926/31c14f58/libbtctl-py-bindings-2-0001.bin
More information about the gnome-bluetooth
mailing list