[maemo-developers] Drag & Drop on GTK + Maemo 5 (was: Re: [pymaemo] DnD on N900)

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Thu Jan 7 01:44:06 EET 2010
[I'm CC'ing maemo-developers as it is clearly not a Python specific
issue; see below for details]

On Wed, Jan 6, 2010 at 2:11 PM, Jeffrey Barish
<jeff_barish at earthlink.net> wrote:
> Well, it took a little more than a few days, but here is a test program.  It
> works on Ubuntu and N810, but not N900.

Well, I tested your example on Maemo and Ubuntu, and indeed the drag &
drop only worked on Ubuntu. Additionally, this error is shown on

/tmp/dndtest.py:77: Warning: g_object_set_data_full: assertion
`G_IS_OBJECT (object)' failed

So I went further and translated your example to C (please note I'm no
GTK expert, I'm only trying to help debugging the problem). And the
same behavior is presented: the drag does not work and this message is
shown on console:

dndtest[9349]: GLIB CRITICAL ** GLib-GObject - g_object_set_data_full:
assertion `G_IS_OBJECT (object)' failed

That means the problem is not related to Python or PyGTK at all, but
some GTK limitation/bug on Maemo 5.

The translated C example is attached.

Any ideas anyone? Regards,
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dndtest.c
Type: text/x-csrc
Size: 5142 bytes
Desc: not available
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100106/f99907c7/attachment.c>
More information about the maemo-developers mailing list