diff plugins/perl/perl.c @ 9943:f8e395a054e2

[gaim-migrate @ 10835] this all seemed to work last night...hopefully no stray cosmic rays did anything to break it since then committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 03 Sep 2004 21:21:25 +0000
parents 7cd7da72c872
children 50224ac8184d
line wrap: on
line diff
--- a/plugins/perl/perl.c	Fri Sep 03 03:05:56 2004 +0000
+++ b/plugins/perl/perl.c	Fri Sep 03 21:21:25 2004 +0000
@@ -89,6 +89,7 @@
 #include "debug.h"
 #include "plugin.h"
 #include "signals.h"
+#include "version.h"
 
 #include "perl-common.h"
 #include "perl-handlers.h"
@@ -289,7 +290,9 @@
 			info = g_new0(GaimPluginInfo, 1);
 			gps  = g_new0(GaimPerlScript, 1);
 
-			info->api_version = GAIM_PLUGIN_API_VERSION;
+			info->magic = GAIM_PLUGIN_MAGIC;
+			info->major_version = GAIM_MAJOR_VERSION;
+			info->minor_version = GAIM_MINOR_VERSION;
 			info->type = GAIM_PLUGIN_STANDARD;
 
 			info->dependencies = g_list_append(info->dependencies,
@@ -510,9 +513,7 @@
 
 static GaimPluginLoaderInfo loader_info =
 {
-	GAIM_LOADER_API_VERSION,                          /**< api_version    */
 	NULL,                                             /**< exts           */
-
 	probe_perl_plugin,                                /**< probe          */
 	load_perl_plugin,                                 /**< load           */
 	unload_perl_plugin,                               /**< unload         */
@@ -521,7 +522,9 @@
 
 static GaimPluginInfo info =
 {
-	GAIM_PLUGIN_API_VERSION,                          /**< api_version    */
+	GAIM_PLUGIN_MAGIC,
+	GAIM_MAJOR_VERSION,
+	GAIM_MINOR_VERSION,
 	GAIM_PLUGIN_LOADER,                               /**< type           */
 	NULL,                                             /**< ui_requirement */
 	0,                                                /**< flags          */