Change to new_plugin_init()

svn path=/trunk/; revision=13612
This commit is contained in:
Luis Ontanon 2005-03-06 02:53:23 +00:00
parent 39ad72864f
commit c6694e7354
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ static gboolean initialized = FALSE;
#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
G_MODULE_EXPORT void plugin_init(plugin_address_table_t *pat _U_ ) {
/* initialise the table of pointers needed in Win32 DLLs */
plugin_address_table_init(pat);
G_MODULE_EXPORT void new_plugin_init(void) {
/* register the new protocol, protocol fields, and subtrees */
if (! initialized ) { /* execute protocol initialization only once */