Mercurial > pidgin
changeset 8761:10caa1ec2dc4
[gaim-migrate @ 9516]
Wordski
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 22 Apr 2004 20:57:39 +0000 |
parents | 16d91ca1a353 |
children | 831a0488a719 |
files | plugins/perl/perl.c plugins/tcl/tcl.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/perl/perl.c Thu Apr 22 20:19:05 2004 +0000 +++ b/plugins/perl/perl.c Thu Apr 22 20:57:39 2004 +0000 @@ -289,7 +289,7 @@ info = g_new0(GaimPluginInfo, 1); gps = g_new0(GaimPerlScript, 1); - info->api_version = 2; + info->api_version = GAIM_PLUGIN_API_VERSION; info->type = GAIM_PLUGIN_STANDARD; info->dependencies = g_list_append(info->dependencies,
--- a/plugins/tcl/tcl.c Thu Apr 22 20:19:05 2004 +0000 +++ b/plugins/tcl/tcl.c Thu Apr 22 20:57:39 2004 +0000 @@ -211,20 +211,20 @@ if (Tcl_ListObjGetElements(interp, result, &nelems, &listitems) == TCL_OK) { if (nelems == 6) { info = g_new0(GaimPluginInfo, 1); - - info->api_version = 2; + + info->api_version = GAIM_PLUGIN_API_VERSION; info->type = GAIM_PLUGIN_STANDARD; info->dependencies = g_list_append(info->dependencies, "core-tcl"); - + info->name = g_strdup(Tcl_GetString(listitems[0])); info->version = g_strdup(Tcl_GetString(listitems[1])); info->summary = g_strdup(Tcl_GetString(listitems[2])); info->description = g_strdup(Tcl_GetString(listitems[3]));; info->author = g_strdup(Tcl_GetString(listitems[5])); info->homepage = g_strdup(Tcl_GetString(listitems[5])); - + plugin->info = info; - + if (gaim_plugin_register(plugin)) status = TRUE; }