plug-ins/imagemap: Kill #define COMMAND_PROTO

Kill #define COMMAND_PROTO and move its definition to the only client,
and get rid of warnings about defined functions not being used.
This commit is contained in:
Martin Nordholts
2010-09-03 09:04:00 +02:00
parent 3e60cacfd5
commit 136499d1ae
2 changed files with 4 additions and 9 deletions

View File

@ -29,13 +29,14 @@
#include "libgimp/stdplugins-intl.h"
COMMAND_PROTO(move_sash_command);
static void move_sash_command_destruct(Command_t *command);
static CmdExecuteValue_t move_sash_command_execute(Command_t *command);
static CommandClass_t move_sash_command_class = {
move_sash_command_destruct,
move_sash_command_execute,
NULL, /* move_sash_command_undo */
NULL /* move_sash_command_redo */
NULL /*undo*/,
NULL /*redo*/
};
typedef struct {