summaryrefslogtreecommitdiff
path: root/src/analysis/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db')
-rw-r--r--src/analysis/db/items/move.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c
index 4fd1667..562d749 100644
--- a/src/analysis/db/items/move.c
+++ b/src/analysis/db/items/move.c
@@ -35,7 +35,7 @@
#include "../collection-int.h"
#include "../item-int.h"
-#include "../../../gui/editem.h"
+#include "../../../gui/core/global.h"
#include "../../../gtkext/gtkdisplaypanel.h"
@@ -445,14 +445,13 @@ static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
/* Lancement de l'opération */
- panel = g_editor_item_get_current_view(NULL);
+ panel = get_current_view();
if (panel != NULL)
{
params = (move_params *)calloc(1, sizeof(move_params));
params->panel = panel;
- g_object_ref(G_OBJECT(panel));
copy_vmpa(&params->addr, addr);