Mercurial > pidgin.yaz
view plugins/perl/libgaimperl.c @ 12108:1d4fbf553ce2
[gaim-migrate @ 14408]
A patch from Sadrul
"when you set an account to offline while it is "connecting", it
doesn't disconnect. marv hit on this last night"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 16 Nov 2005 00:01:23 +0000 |
parents | f8cd06753755 |
children | a4229dd9c76a |
line wrap: on
line source
#include <gmodule.h> void __attribute__ ((constructor)) my_init(void) { /* Very evil hack...puts perl.so's symbols in the global table */ /* but does not create a circular dependancy because g_module_open */ /* will only open the library once. */ g_module_open("perl.so", 0); }