summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-12 20:03:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-12 20:03:12 (GMT)
commit771f21b9d5dd2b394359304a660418bbc84befda (patch)
tree60d6a9350d388f2db7ad571e6edddf46a99444f2 /src/analysis
parentde62d34d2dc6135b42af7f8a103c8c7af09fd54f (diff)
Defined a new interface for displaying loaded contents.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/db/items/move.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c
index 562d749..4162e9f 100644
--- a/src/analysis/db/items/move.c
+++ b/src/analysis/db/items/move.c
@@ -447,11 +447,11 @@ static bool g_db_move_run(const GDbMove *move, const vmpa2t *addr)
panel = get_current_view();
- if (panel != NULL)
+ if (GTK_IS_DISPLAY_PANEL(panel))
{
params = (move_params *)calloc(1, sizeof(move_params));
- params->panel = panel;
+ params->panel = GTK_DISPLAY_PANEL(panel);
copy_vmpa(&params->addr, addr);