diff options
Diffstat (limited to 'src/analysis/db/items')
-rw-r--r-- | src/analysis/db/items/move.c | 5 |
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(¶ms->addr, addr); |