Re: clg 0.90 first steps

Espen S Johnsen <[email protected]> 03 Aug 2005 13:58:39 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Fruhwirth Clemens <[email protected]> writes:

> Hi!

Hi

> While trying clg 0.90, I ran into a few problems:
> 
> - gtk.lisp defines a mapping for _gtk_accel_map_init. My gtk shared
> library does not export this object, and after digging a bit in the gtk
> I concluded that it shouldn't do that. 
> 
> _gtk_accel_map_init is labeled "internal API" in gtkaccelmap.h. There is
> a function gtk_accel_map_init (without the underscore prefix), which is
> defined as "{}". The underscore version is called from gtkmain.c, so it
> appears that GTK calls this function on its own anyway. This function
> appears to be unimportant to the rest of the world
> http://www.google.com/search?q=gtk_accel_map_init ,
> so I "solved" this problem by removing the defbinding from gtk.lisp. 

I included this mapping (knowing it is labeled "internal") because on
one of my Debian systems I has call this function after Gtk is
initialized, to get keyboard accelerators working. I don't know why, but
it probably has something to do with the fact that this system has an X
terminal connected and don't run a local X server. Removing it, as you
did, should not be a problem and I will do that in the next release.

-- 
Espen


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click