Hi, I just wanted to post an update.

Attached is the patch I am using to add gdk_keyval_convert_case() into 
the directfb backend.  I noticed something while running gtk-demo with 
this patch.  I get the message "Unimplemented: gdk_keyval_convert_case" 
which makes perfect sense, then the demo exits (I don't see the demo). 
The first thing I realized is that I ran the demo successfully earlier, 
and I verified this by reversing my patch.

Ok, back to the original problem.  After reverting everything:

# python -c "import gtk"
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File 
"/usr/local/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 
48, in ?
     from gtk import _gtk
ImportError: /usr/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so: 
undefined symbol: gdk_keyval_convert_case

BUT, that symbol IS defined.  I can run gtk-demo again, and it works.  I 
do not get the "Unimplemented: gdk_keyval_convert_case" message.  I 
think that the problem lies with either how gtk+ exposes its symbols or 
how pygtk is using the library.  In gtk+ I am going to look closer at 
the relationship between the backend implimentations and the generic 
functions, also with  gdk/gdk.symbols and gdk/gdkalias.h / 
gdk/gdkaliasdef.c.

-Rob



_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to