From 30e96b2d0f6cbda9065220b76dba0f6e90d59ef9 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 30 Jul 2016 23:23:20 +0100 Subject: Fixes to plugin API docs --- apidocs/c/profapi.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apidocs/c/profapi.h') diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h index 257c2799..740d257b 100644 --- a/apidocs/c/profapi.h +++ b/apidocs/c/profapi.h @@ -90,7 +90,6 @@ void prof_completer_remove(const char *key, char **items); Remove all values from autocompletion for a command, or command argument. @param key the prefix from which to clear the autocompletion items -@param items the items to remove */ void prof_completer_clear(const char *key); @@ -186,10 +185,10 @@ int prof_win_focus(PROF_WIN_TAG win); /** Show a message in the plugin window. @param win the {@link PROF_WIN_TAG} of the window to display the message -@param line The message to print +@param message The message to print @return 1 on success, 0 on failure */ -int prof_win_show(PROF_WIN_TAG win, char *line); +int prof_win_show(PROF_WIN_TAG win, char *message); /** Show a message in the plugin window, using the specified theme. @@ -201,7 +200,7 @@ Themes must be specified in ~/.local/share/profanity/plugin_themes @param message the message to print @return 1 on success, 0 on failure */ -int prof_win_show_themed(PROF_WIN_TAG tag, char *group, char *key, char *def, char *line); +int prof_win_show_themed(PROF_WIN_TAG tag, char *group, char *key, char *def, char *message); /** Send an XMPP stanza -- cgit 1.4.1-2-gfad0