Re: [gtk-list] Re: Problems with GTK+ .99.8 and Imlib 1.1
- From: johannes nada kth se (Johannes Keukelaar)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Problems with GTK+ .99.8 and Imlib 1.1
- Date: Mon, 30 Mar 1998 10:48:27 +0200
//> I have just erased the message I wanted to reply to.... :-) There
//> was a report that closing window does not work. I discovered the same
//> behaviour under GTK+ .99.7 and found, that the function attached to
//> "delete_event" is called, but not with the parameter I have passed to
//> it in gtk_signal_connect(). I use only "destroy" signal now and it
//> works fine.
//
// Geezus, this sound like a pretty serious bug: gtk_signal_connect()
//not passing the correct parameters?! Hmmm... why is this limited to the
//"delete_event" event, then? Or is it?
I've had similar 'problems'. They went away when I discovered that the event I
was connecting to passed other parameters than I thought it did.
(gtk_signal_connect is not type safe on the function parameter...) Figure out
which parameters delete_event passes, and check to see that you expect that
many in your callback function.
Good luck,
Johannes.
--
The reason computer chips are so small is computers don't eat much.
<insert funny description here>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]