changeset 7828:0408e93c8a72

[gaim-migrate @ 8480] Say hello to Tk 8.4 for me! committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 10 Dec 2003 22:11:38 +0000
parents ee32e030c9be
children 4bc847ab3bb4
files plugins/tcl/tcl.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/tcl/tcl.c	Wed Dec 10 16:48:23 2003 +0000
+++ b/plugins/tcl/tcl.c	Wed Dec 10 22:11:38 2003 +0000
@@ -137,10 +137,6 @@
 		return NULL;
 	}
 
-#ifdef HAVE_TK
-	Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit);
-#endif /* HAVE_TK */
-
 	if (tcl_init_interp(interp)) {
 		Tcl_DeleteInterp(interp);
 		return NULL;
@@ -312,6 +308,10 @@
 	tcl_signal_init();
 	tcl_plugins = g_hash_table_new(g_direct_hash, g_direct_equal);
 
+#ifdef HAVE_TK
+	Tcl_StaticPackage(NULL, "Tk", Tk_Init, Tk_SafeInit);
+#endif /* HAVE_TK */
+
 	return TRUE;
 }