Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
22225:d2fc168b5e7a | 22227:da9179374c50 |
---|---|
23 #include <tcl.h> | 23 #include <tcl.h> |
24 | 24 |
25 #include "internal.h" | 25 #include "internal.h" |
26 #include "conversation.h" | 26 #include "conversation.h" |
27 #include "connection.h" | 27 #include "connection.h" |
28 #include "eventloop.h" | |
28 #include "account.h" | 29 #include "account.h" |
29 #include "server.h" | 30 #include "server.h" |
30 #include "notify.h" | 31 #include "notify.h" |
31 #include "blist.h" | 32 #include "blist.h" |
32 #include "savedstatuses.h" | 33 #include "savedstatuses.h" |
1776 /* This isn't exactly OK, but heh. What do you do? */ | 1777 /* This isn't exactly OK, but heh. What do you do? */ |
1777 return TCL_OK; | 1778 return TCL_OK; |
1778 } | 1779 } |
1779 /* We can't unload immediately, but we can unload at the first | 1780 /* We can't unload immediately, but we can unload at the first |
1780 * known safe opportunity. */ | 1781 * known safe opportunity. */ |
1781 g_idle_add(unload_self, (gpointer)plugin); | 1782 purple_timeout_add(0, unload_self, (gpointer)plugin); |
1782 | 1783 |
1783 return TCL_OK; | 1784 return TCL_OK; |
1784 } | 1785 } |