Re: Gtk window resize is broken
Tor Lillqvist <[email protected]> Wed, 22 Jan 2003 23:52:39 +0000
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
"hermanator12002 <[email protected]>" <[email protected]> writes: > What is curious though, is that removing g_print from the > configure_event callback has the effect of propogating the event, > despite not returning FALSE. Yes, but the code that called your callback doesn't know that the callback function is defined as void. It uses whatever value happens to be in the place where functions return their value... That removing the g_print has this effect is just a coincidence. With a different compiler, different compiler version, different optimisation level, etc, it might not happen. > A linux version of this same app, propogates the event whether > FALSE is returned or not, or whether g_print is used or not. Irrelevant. Your code is still wrong. You might be using a different compiler, different compiler version, different optimisation, and the way to return function values might be different, making GTK+ think your callback returned FALSE. --tml To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/