view plugins/perl/libgaimperl.c @ 12142:0c672be21798

[gaim-migrate @ 14443] Kevin (SimGuy) pointed out that these mnemonics were not unique. GTK+ still handles them nicely, but I figured it would be best to make them distinct when possible. The ones on Account and Buddy name don't work for either of us. I have the same problem in the New Instant Message window. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 Nov 2005 00:16:45 +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);
}