changeset 13166:f0577a01b2cf

[gaim-migrate @ 15529] Call gaim_plugin_load() when initializing a statically compiled plugin. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 07 Feb 2006 19:32:22 +0000
parents c0a6b8f29035
children be0cd152691d
files src/plugin.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.h	Tue Feb 07 19:29:57 2006 +0000
+++ b/src/plugin.h	Tue Feb 07 19:32:22 2006 +0000
@@ -184,6 +184,7 @@
 		GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \
 		plugin->info = &(plugininfo); \
 		initfunc((plugin)); \
+		gaim_plugin_load((plugin)); \
 		return gaim_plugin_register(plugin); \
 	}
 #else /* GAIM_PLUGINS  && !GAIM_STATIC_PRPL */