Fix for #102303 + lots of code clean-up
This commit is contained in:
@ -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,8 +25,7 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "imap_cmd_object_move.h"
|
||||
#include "imap_main.h"
|
||||
#include "imap_commands.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
@ -71,9 +70,6 @@ object_move_command_execute(Command_t *parent)
|
||||
{
|
||||
ObjectMoveCommand_t *command = (ObjectMoveCommand_t*) parent;
|
||||
object_move(command->obj, command->dx, command->dy);
|
||||
#ifdef _OLD_
|
||||
redraw_preview(); /* fix me! */
|
||||
#endif
|
||||
return CMD_APPEND;
|
||||
}
|
||||
|
||||
@ -82,7 +78,4 @@ object_move_command_undo(Command_t *parent)
|
||||
{
|
||||
ObjectMoveCommand_t *command = (ObjectMoveCommand_t*) parent;
|
||||
object_move(command->obj, -command->dx, -command->dy);
|
||||
#ifdef _OLD_
|
||||
redraw_preview(); /* fix me! */
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user