changeset 13847:6c965941d0e0

[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 <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 21 Jun 2006 15:14:26 +0000
parents 5af4422eb3f8
children b43971b34053
files plugins/tcl/tcl_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */