Fix for #102303 + lots of code clean-up

This commit is contained in:
Maurits Rijk
2003-01-02 20:35:33 +00:00
parent cb9d0cc2b8
commit a73614b650
68 changed files with 225 additions and 1340 deletions

View File

@ -3,7 +3,7 @@
*
* Generates clickable image maps.
*
* Copyright (C) 1998-1999 Maurits Rijk lpeek.mrijk@consunet.nl
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -25,21 +25,17 @@
#include <gtk/gtk.h>
#include "imap_cmd_copy.h"
#include "imap_cmd_object_down.h"
#include "imap_main.h"
#include "imap_commands.h"
#include "libgimp/stdplugins-intl.h"
static CmdExecuteValue_t move_down_command_execute(Command_t *parent);
static void move_down_command_undo(Command_t *parent);
static void move_down_command_redo(Command_t *parent);
CommandClass_t move_down_command_class = {
NULL, /* move_down_command_destruct */
move_down_command_execute,
move_down_command_undo,
move_down_command_redo
NULL, /* move_down_command_undo */
NULL /* move_down_command_redo */
};
typedef struct {
@ -83,18 +79,5 @@ move_down_command_execute(Command_t *parent)
object_list_move_selected_down(command->list);
object_list_remove_move_cb(command->list, id);
redraw_preview(); /* fix me! */
return CMD_APPEND;
}
static void
move_down_command_undo(Command_t *parent)
{
redraw_preview(); /* fix me! */
}
static void
move_down_command_redo(Command_t *parent)
{
redraw_preview(); /* fix me! */
}