Mercurial > pidgin.yaz
diff libpurple/plugins/tcl/tcl_cmds.c @ 22227:da9179374c50
One more g_idle_add call
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 28 Jan 2008 04:10:59 +0000 |
parents | 3afd04d5f9d6 |
children | 7a1d01cc98d8 |
line wrap: on
line diff
--- 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; }