Re: signal_connect errors



Nori Heikkinen said:
    $itemToEdit->signal_connect->( 'select' => \&editItem, $button );
                                 ^^

is that in the original?  that passes zero arguments to signal_connect, which
would result in the error message you saw.  it should, of course, be

     $itemToEdit->signal_connect ( 'select' => \&editItem, $button );

(the brain's selective vision filters tend to make it hard to spot things like
that in one's own code.)

-- 
muppet <scott at asofyet dot org>



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