| 49 GaimPlugin *plugin; |
49 GaimPlugin *plugin; |
| 50 Tcl_Interp *interp; |
50 Tcl_Interp *interp; |
| 51 }; |
51 }; |
| 52 |
52 |
| 53 GaimStringref *GaimTclRefAccount; |
53 GaimStringref *GaimTclRefAccount; |
| |
54 GaimStringref *GaimTclRefConnection; |
| 54 GaimStringref *GaimTclRefConversation; |
55 GaimStringref *GaimTclRefConversation; |
| 55 GaimStringref *GaimTclRefStatus; |
56 GaimStringref *GaimTclRefStatus; |
| 56 GaimStringref *GaimTclRefStatusAttr; |
57 GaimStringref *GaimTclRefStatusAttr; |
| 57 GaimStringref *GaimTclRefStatusType; |
58 GaimStringref *GaimTclRefStatusType; |
| 58 |
59 |
| 339 tcl_glib_init(); |
340 tcl_glib_init(); |
| 340 tcl_signal_init(); |
341 tcl_signal_init(); |
| 341 gaim_tcl_ref_init(); |
342 gaim_tcl_ref_init(); |
| 342 |
343 |
| 343 GaimTclRefAccount = gaim_stringref_new("Account"); |
344 GaimTclRefAccount = gaim_stringref_new("Account"); |
| |
345 GaimTclRefConnection = gaim_stringref_new("Connection"); |
| 344 GaimTclRefConversation = gaim_stringref_new("Conversation"); |
346 GaimTclRefConversation = gaim_stringref_new("Conversation"); |
| 345 GaimTclRefStatus = gaim_stringref_new("Status"); |
347 GaimTclRefStatus = gaim_stringref_new("Status"); |
| 346 GaimTclRefStatusAttr = gaim_stringref_new("StatusAttr"); |
348 GaimTclRefStatusAttr = gaim_stringref_new("StatusAttr"); |
| 347 GaimTclRefStatusType = gaim_stringref_new("StatusType"); |
349 GaimTclRefStatusType = gaim_stringref_new("StatusType"); |
| 348 |
350 |
| 359 { |
361 { |
| 360 g_hash_table_destroy(tcl_plugins); |
362 g_hash_table_destroy(tcl_plugins); |
| 361 tcl_plugins = NULL; |
363 tcl_plugins = NULL; |
| 362 |
364 |
| 363 gaim_stringref_unref(GaimTclRefAccount); |
365 gaim_stringref_unref(GaimTclRefAccount); |
| |
366 gaim_stringref_unref(GaimTclRefConnection); |
| 364 gaim_stringref_unref(GaimTclRefConversation); |
367 gaim_stringref_unref(GaimTclRefConversation); |
| 365 gaim_stringref_unref(GaimTclRefStatus); |
368 gaim_stringref_unref(GaimTclRefStatus); |
| 366 gaim_stringref_unref(GaimTclRefStatusAttr); |
369 gaim_stringref_unref(GaimTclRefStatusAttr); |
| 367 gaim_stringref_unref(GaimTclRefStatusType); |
370 gaim_stringref_unref(GaimTclRefStatusType); |
| 368 |
371 |