Re: A question about "event" signal of GtkTextTag
- From: Sven Neumann <sven gimp org>
- To: "Dongho Shin" <electman acadcorp com>
- Cc: <gtk-list gnome org>
- Subject: Re: A question about "event" signal of GtkTextTag
- Date: 28 May 2002 13:07:25 +0200
Hi,
"Dongho Shin" <electman acadcorp com> writes:
> My working platform is Solaris 2.6 / Sun Ultra Sparc 10.
> Can it be the source of my problem?
it shouldn't, but unfortunately there are some bugs that are not
triggered on Linux (where most gtk+ developers work on) but show up on
Solaris (and other systems). So it might be that you are seeing a bug
here that is sort of solaris-specific.
In GTK+-2.0 event emission is stopped as soon as a signal handler
returns TRUE. A typical mistake is to omit the return value of an
event handler and declare it as a void functions. It seems that the
usual Linux compiler generates code that works as if the void function
returned FALSE while the typical Solaris compiler uses some value from
the stack. In a lot of cases this value is != FALSE and thus the event
emission stops.
I'd suggest you write a very simple test case that shows the problem
and post it here so that others can try to reproduce the problem.
Perhaps it turns out to be a bug in GTK+-2.0.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]