# HG changeset patch # User Christian Hammond # Date 1061376312 0 # Node ID 66689e2cb966e71ed87a6ed9c598a92d998154ba # Parent 2d9857a0d8a3ee72cfb4fedb923c47905e97cccc [gaim-migrate @ 7042] Pass the GaimPlugin to the load/unload functions in the perl scripts. committer: Tailor Script diff -r 2d9857a0d8a3 -r 66689e2cb966 plugins/perl/perl.c --- a/plugins/perl/perl.c Wed Aug 20 10:40:11 2003 +0000 +++ b/plugins/perl/perl.c Wed Aug 20 10:45:12 2003 +0000 @@ -315,6 +315,8 @@ ENTER; SAVETMPS; PUSHMARK(SP); + XPUSHs(gaim_perl_ref_object(plugin)); + PUTBACK; perl_call_pv(gps->load_sub, G_NOARGS | G_EVAL | G_SCALAR); SPAGAIN; @@ -348,6 +350,8 @@ ENTER; SAVETMPS; PUSHMARK(SP); + XPUSHs(gaim_perl_ref_object(plugin)); + PUTBACK; perl_call_pv(gps->unload_sub, G_NOARGS | G_EVAL | G_SCALAR); SPAGAIN;