summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-02-20 22:36:13 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-02-20 22:36:13 +0100
commit6faa1a0db814f71c5d895b11092eeb023f579ee6 (patch)
tree9ed02d4a8f0847234299535dfb7943247e9f3a89
parent9857b44e4ecfcbc1685acc429bd541777ea38afb (diff)
downloadweechat-6faa1a0db814f71c5d895b11092eeb023f579ee6.zip
doc; fix typos in plugin API reference
-rw-r--r--doc/en/weechat_plugin_api.en.txt8
-rw-r--r--doc/fr/weechat_plugin_api.fr.txt6
-rw-r--r--doc/it/weechat_plugin_api.it.txt6
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 607c35311..a32284476 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -8663,7 +8663,7 @@ Arguments:
* 'callback_data': pointer given to callback when it is called by WeeChat
[NOTE]
-Completion names are global (shared accross WeeChat and plugins). So it is
+Completion names are global (shared across WeeChat and plugins). So it is
recommended to choose a name with a unique prefix, like "plugin_xxx" (where
"xxx" is your item name).
@@ -11532,9 +11532,9 @@ Prototype:
[source,C]
----------------------------------------
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
- char *(build_callback)(void *data,
- struct t_gui_bar_item *item,
- struct t_gui_window *window),
+ char *(*build_callback)(void *data,
+ struct t_gui_bar_item *item,
+ struct t_gui_window *window),
void *build_callback_data);
----------------------------------------
diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt
index 608046175..e4be0a9b4 100644
--- a/doc/fr/weechat_plugin_api.fr.txt
+++ b/doc/fr/weechat_plugin_api.fr.txt
@@ -11724,9 +11724,9 @@ Prototype :
[source,C]
----------------------------------------
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
- char *(build_callback)(void *data,
- struct t_gui_bar_item *item,
- struct t_gui_window *window),
+ char *(*build_callback)(void *data,
+ struct t_gui_bar_item *item,
+ struct t_gui_window *window),
void *build_callback_data);
----------------------------------------
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index d50e02c61..6fc4f364f 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -11671,9 +11671,9 @@ Prototipo:
[source,C]
----------------------------------------
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
- char *(build_callback)(void *data,
- struct t_gui_bar_item *item,
- struct t_gui_window *window),
+ char *(*build_callback)(void *data,
+ struct t_gui_bar_item *item,
+ struct t_gui_window *window),
void *build_callback_data);
----------------------------------------