changeset 22227:da9179374c50

One more g_idle_add call
author Mark Doliner <mark@kingant.net>
date Mon, 28 Jan 2008 04:10:59 +0000
parents d2fc168b5e7a
children 6337a8fd7784
files libpurple/plugins/tcl/tcl_cmds.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;
 }