Mercurial > pidgin.yaz
view plugins/perl/libgaimperl.c @ 12639:366326fa9cb4
[gaim-migrate @ 14975]
SF Patch #1323534 from Sadrul
"There is a documented signal `conversation-switched',
which never gets emitted. This patch emits this signal
when a conversation is switched. This signal can be
used by plugins that may want to deal with menu-items /
menu-tray items etc."
"The conversation-switched signals is moved to gtkconv,
-switching signal is removed. Changelog.API and doc/.dox
files are updated. I have included the changes in
displaying-signals in the dox-files as well."
Also, I added a cast to the code from my last commit to suppress a warning. I wish C knew about object oriented inheritance.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 23 Dec 2005 05:13:52 +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); }