Re: signal_connect errors



on Wed, 10 Dec 2003 11:19:34AM -0500, muppet insinuated:
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.)

argh.  of course!  thanks!

</nori>

-- 
    .~.      nori @ sccs.swarthmore.edu
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^
*------------------------------------------------------------------------*
* http://www.aidsmarathon.com/participant.asp?runner=DCNO-3267&year=2003 *
*------------------------------------------------------------------------*
*           Please help me raise money for AIDS as I train for           *
*                  the Whitman-Walker AIDS Marathon!                     *
*------------------------------------------------------------------------*

Attachment: pgp18FA7k9yLk.pgp
Description: PGP signature



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