Re: Query gtkpaned.c enum error



Hi,

Jeff Franks <jcf tpg com au> writes:

> The following enum appears in gtkpaned.c
> 
> enum {
> CYCLE_CHILD_FOCUS,
> TOGGLE_HANDLE_FOCUS,
> MOVE_HANDLE,
> CYCLE_HANDLE_FOCUS,
> LAST_SIGNAL,
> ACCEPT_POSITION,
> CANCEL_POSITION
> };
> 
> shouldn't it be
> 
> enum {
> CYCLE_CHILD_FOCUS,
> TOGGLE_HANDLE_FOCUS,
> MOVE_HANDLE,
> CYCLE_HANDLE_FOCUS,
> ACCEPT_POSITION,
> CANCEL_POSITION,
> LAST_SIGNAL
> };

sure, but has already been fixed in CVS:

2002-02-18  Hans Breuer  <hans breuer org>

        * gtk/gtkpaned.c : make LAST_SIGNAL the last in enum. 
        This avoids to smash totally unrelated static data and
        resulting random crashes. (as reported on gtk-devel-list, 
        2002-02-10 : testgtk crashes)


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]