summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/editem.c2
-rw-r--r--src/gui/menus/edition.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editem.c b/src/gui/editem.c
index 5f326ce..7718581 100644
--- a/src/gui/editem.c
+++ b/src/gui/editem.c
@@ -328,7 +328,7 @@ static void start_moving_to_address_in_view_panel(GtkViewPanel *vpanel, const vm
move = g_db_move_new(src, addr);
binary = gtk_view_panel_get_binary(vpanel);
- g_loaded_binary_add_to_collection(binary, DBF_MOVES, G_DB_ITEM(move));
+ g_loaded_binary_add_to_collection(binary, G_DB_ITEM(move));
}
diff --git a/src/gui/menus/edition.c b/src/gui/menus/edition.c
index b507f0a..0a92e3e 100644
--- a/src/gui/menus/edition.c
+++ b/src/gui/menus/edition.c
@@ -394,7 +394,7 @@ static void mcb_edition_switch_numeric_operand(GtkMenuItem *menuitem, GMenuBar *
switcher = g_db_switcher_new(instr, G_IMM_OPERAND(creator), display);
- g_loaded_binary_add_to_collection(binary, DBF_DISPLAY_SWITCHERS, G_DB_ITEM(switcher));
+ g_loaded_binary_add_to_collection(binary, G_DB_ITEM(switcher));
g_object_unref(G_OBJECT(proc));
@@ -642,7 +642,7 @@ static void mcb_edition_bookmarks_toggle(GtkMenuItem *menuitem, GMenuBar *bar)
}
- _g_loaded_binary_add_to_collection(binary, DBF_BOOKMARKS, G_DB_ITEM(bookmark), false);
+ _g_loaded_binary_add_to_collection(binary, G_DB_ITEM(bookmark), false);
mcb_ebt_add_finish: