Mercurial > pidgin.yaz
view plugins/perl/libgaimperl.c @ 13558:a0969be53e17
[gaim-migrate @ 15937]
Patch 1452620 from sadrul to improve Yahoo idle handling:
"If you are away with no status-message, and you want to
set the account as idle, then the account becomes
`online'. When you come back from idle, and you have
`away' selected in the statusbox, then the account
becomes online."
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Fri, 24 Mar 2006 02:48:28 +0000 |
parents | a4229dd9c76a |
children |
line wrap: on
line source
#include <gmodule.h> void __attribute__ ((constructor)) my_init(void); void __attribute__ ((constructor)) my_init() { /* 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); }