comparison plugins/tcl/tcl_cmd.c @ 13848:b43971b34053

[gaim-migrate @ 16304] See, and this is why I had Ethan look this over. Having signal and command callbacks conflict with each other would be bad. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 21 Jun 2006 15:19:28 +0000
parents 6c965941d0e0
children
comparison
equal deleted inserted replaced
13847:6c965941d0e0 13848:b43971b34053
182 static Tcl_Obj *new_cmd_cb_namespace() 182 static Tcl_Obj *new_cmd_cb_namespace()
183 { 183 {
184 char name[32]; 184 char name[32];
185 static int cbnum; 185 static int cbnum;
186 186
187 g_snprintf(name, sizeof(name), "::gaim::_callback::cb_%d", cbnum++); 187 g_snprintf(name, sizeof(name), "::gaim::_cmd_callback::cb_%d",
188 cbnum++);
188 return Tcl_NewStringObj(name, -1); 189 return Tcl_NewStringObj(name, -1);
189 } 190 }