# HG changeset patch # User Etan Reisner # Date 1150902866 0 # Node ID 6c965941d0e0b69adad9ca1534090fba5ec0dd43 # Parent 5af4422eb3f858f3fd0e96605d8a44ed3b604498 [gaim-migrate @ 16303] 08:50:00 <+Paco-Paco> deryni: instead of Tcl_NewIntObj((int)conv), you should use gaim_tcl_ref_new(GaimTclRefConversation, conv) Done and done. Next up, error messages (later). committer: Tailor Script diff -r 5af4422eb3f8 -r 6c965941d0e0 plugins/tcl/tcl_cmd.c --- a/plugins/tcl/tcl_cmd.c Wed Jun 21 13:51:19 2006 +0000 +++ b/plugins/tcl/tcl_cmd.c Wed Jun 21 15:14:26 2006 +0000 @@ -137,7 +137,7 @@ Tcl_ListObjAppendElement(handler->interp, command, arg); /* The conversation */ - arg = Tcl_NewIntObj((int)conv); + arg = gaim_tcl_ref_new(GaimTclRefConversation, conv); Tcl_ListObjAppendElement(handler->interp, command, arg); /* The command */