GHashTable Frustration

2005-12-15 Thread Les Harris
Hi all, I am going absolutely crazy. I am trying to use a GHashTable with string keys to pull out a struct value. The first time the code runs it works, but any subsequent times the code will segfault. I really am at a loss and have found nothing in the documentation or through google that hel

Re: Events and derived objects

2005-12-15 Thread Eduardo M KALINOWSKI
Tristan Van Berkom wrote: >> a key-press-event of the TextView inside the derived widget's >> implementation, but I have'nt discovered how to propagate keys unhandled >> by the TextView itself or by my special handler to the user. > > I've achieved capturing some specials keys, but letting everyth

Re: GHashTable Frustration

2005-12-15 Thread Iago Rubio
On Thu, 2005-12-15 at 02:55 -0800, Les Harris wrote: > Hi all, > > I am going absolutely crazy. I am trying to use a GHashTable with > string keys to pull out a struct value. The first time the code runs > it works, but any subsequent times the code will segfault. I really am > at a loss and h

Re: Events and derived objects

2005-12-15 Thread Tristan Van Berkom
Eduardo M KALINOWSKI wrote: [...] What is happening is that the user signal handler is being run only after the default handler, even if g_signal_connect (not after) is used, but it should happen before. Hi, what you're saying stikes me as odd; this is the declaration of key-press-event cop

Re: Events and derived objects

2005-12-15 Thread Eduardo M KALINOWSKI
Tristan Van Berkom wrote: > Are you sure that the text view's handler gets called at all ? > in other words; are you sure you're returninig FALSE from > your "Internal key handler" ? Yes, and as I matter of fact I removed this to test, and it did'nt change a thing. What happens is that if I conn