summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2021-06-17 23:43:50 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2021-06-17 23:43:50 -0500
commit532a2d9a00e72f95e1761bb92d4f5e01a196eb10 (patch)
tree034e50a0aab70eb4979a9b3e211a3ec2e091f441 /doc
parent8259dd22b48b000b341f8ba0930c6d021cac9f6b (diff)
downloadpidgin-532a2d9a00e72f95e1761bb92d4f5e01a196eb10.tar.gz
Remove `PURPLE_PLUGIN_INIT` from docs.
Though, the i18n docs need a complete rewrite anyway. Reviewed at https://reviews.imfreedom.org/r/762/
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/libpurple/plugin_i18n.xml4
-rw-r--r--doc/reference/libpurple/plugin_ids.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/libpurple/plugin_i18n.xml b/doc/reference/libpurple/plugin_i18n.xml
index 1d1f746ca8..5b145bc2f9 100644
--- a/doc/reference/libpurple/plugin_i18n.xml
+++ b/doc/reference/libpurple/plugin_i18n.xml
@@ -129,8 +129,8 @@ To do this, we're going to change the entries for name, summary, and
description to NULL.
</para></listitem>
<listitem><para>
-Next, locate your 'plugin_load' function. Your name for this function
-may vary, but it's the third parameter to 'PURPLE_PLUGIN_INIT'.
+Next, locate your 'plugin_load' function. Your name for this function will be
+the first parameter to GPLUGIN_NATIVE_PLUGIN_DECLARE() plus '_load'.
</para></listitem>
<listitem><para>
Now add the following within your 'plugin_load' function:
diff --git a/doc/reference/libpurple/plugin_ids.xml b/doc/reference/libpurple/plugin_ids.xml
index d753dfba1c..9456128091 100644
--- a/doc/reference/libpurple/plugin_ids.xml
+++ b/doc/reference/libpurple/plugin_ids.xml
@@ -98,7 +98,7 @@ Do <emphasis>not</emphasis> leave this field blank!
<para>
The <emphasis>pluginname</emphasis> is the name of your plugin. It is usually all
lowercase letters and matches the static plugin ID (the first argument to
-the PURPLE_PLUGIN_INIT() macro call), although it can be anything you
+the GPLUGIN_NATIVE_PLUGIN_DECLARE() macro call), although it can be anything you
like. Do <emphasis>not</emphasis> include version information in the plugin ID--the
<literal>PurplePluginInfo</literal> object already has a property for this.
</para>