summaryrefslogtreecommitdiff
path: root/src/gui/menus/edition.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-11-11 18:47:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-11-11 18:47:15 (GMT)
commit04f9aebee5249624ccd4173989354cd93474376f (patch)
tree90c23774e2898be78a372650a6d6d219104196fb /src/gui/menus/edition.c
parent77c68b54d4b2970a749eb4a658c32d2a16deacf6 (diff)
Extended the Python bindings.
Diffstat (limited to 'src/gui/menus/edition.c')
-rw-r--r--src/gui/menus/edition.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/menus/edition.c b/src/gui/menus/edition.c
index 2cfcf85..cdf8aa3 100644
--- a/src/gui/menus/edition.c
+++ b/src/gui/menus/edition.c
@@ -487,7 +487,7 @@ static void mcb_edition_switch_numeric_operand(GtkMenuItem *menuitem, gpointer u
assert(G_IS_IMM_OPERAND(creator));
cursor = g_loaded_panel_get_cursor(panel);
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
g_object_unref(G_OBJECT(cursor));
binary = G_LOADED_BINARY(get_current_content());
@@ -570,7 +570,7 @@ static void mcb_edition_follow_ref(GtkMenuItem *menuitem, gpointer unused)
proc = g_loaded_binary_get_processor(binary);
cursor = g_loaded_panel_get_cursor(panel);
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &iaddr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &iaddr);
g_object_unref(G_OBJECT(cursor));
defined = g_targetable_operand_get_addr(G_TARGETABLE_OPERAND(creator), &iaddr, format, proc, &addr);
@@ -624,7 +624,7 @@ static void mcb_edition_list_xrefs(GtkMenuItem *menuitem, GMenuBar *bar)
assert(GTK_IS_BLOCK_DISPLAY(panel) || GTK_IS_GRAPH_DISPLAY(panel));
cursor = g_loaded_panel_get_cursor(panel);
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
g_object_unref(G_OBJECT(cursor));
binary = G_LOADED_BINARY(get_current_content());
@@ -703,7 +703,7 @@ static void mcb_edition_bookmarks_toggle(GtkMenuItem *menuitem, GMenuBar *bar)
assert(GTK_IS_BLOCK_DISPLAY(panel) || GTK_IS_GRAPH_DISPLAY(panel));
cursor = g_loaded_panel_get_cursor(panel);
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
g_object_unref(G_OBJECT(cursor));
/* Accès à la collection */