plugins/perl/libgaimperl.c

Fri, 29 Jul 2005 13:38:00 +0000

author
John H. Kelm <johnkelm@gmail.com>
date
Fri, 29 Jul 2005 13:38:00 +0000
changeset 11170
d8941580d87f
parent 11120
beeb901ca8a9
child 11862
5d4bc6d54688
permissions
-rw-r--r--

[gaim-migrate @ 13271]
Fixed some bugs and made some additions to the XSUBS. Added some of my test scripts which are incomplete, but mostly functional. GaimPluginPrefs and GaimGtkPluginPrefs--using evals to do the Gtk widgets with gtk2-perl--work. Plugin actions can now be added, but only one for now.

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);
}

mercurial