--- a/libpurple/plugins/tcl/tcl_cmds.c Sun Jan 27 21:37:43 2008 +0000 +++ b/libpurple/plugins/tcl/tcl_cmds.c Mon Jan 28 04:10:59 2008 +0000 @@ -25,6 +25,7 @@ #include "internal.h" #include "conversation.h" #include "connection.h" +#include "eventloop.h" #include "account.h" #include "server.h" #include "notify.h" @@ -1778,7 +1779,7 @@ } /* We can't unload immediately, but we can unload at the first * known safe opportunity. */ - g_idle_add(unload_self, (gpointer)plugin); + purple_timeout_add(0, unload_self, (gpointer)plugin); return TCL_OK; }