summaryrefslogtreecommitdiff
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-27 22:43:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-27 22:49:24 (GMT)
commitd9c8eaac961b6fa097b362b2202c176a5ef16ec2 (patch)
treeba4572719bd7b2f84d7e06e59fbacfcfddc4ddde /src/gui/dialogs
parent703e0d10d56bb288b515526f0d0f1994391619bf (diff)
Replaced all BLC_* constants by the new DLC_* values.
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/export_disass.c6
-rw-r--r--src/gui/dialogs/gotox.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/dialogs/export_disass.c b/src/gui/dialogs/export_disass.c
index c15dcbc..84ccc0a 100644
--- a/src/gui/dialogs/export_disass.c
+++ b/src/gui/dialogs/export_disass.c
@@ -245,13 +245,13 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref)
g_object_unref(G_OBJECT(template));
checkbutton = GTK_TOGGLE_BUTTON(g_object_get_data(ref, "physical_off"));
- g_display_options_set(options, BLC_PHYSICAL, gtk_toggle_button_get_active(checkbutton));
+ g_display_options_set(options, DLC_PHYSICAL, gtk_toggle_button_get_active(checkbutton));
checkbutton = GTK_TOGGLE_BUTTON(g_object_get_data(ref, "virtual_addr"));
- g_display_options_set(options, BLC_VIRTUAL, gtk_toggle_button_get_active(checkbutton));
+ g_display_options_set(options, DLC_VIRTUAL, gtk_toggle_button_get_active(checkbutton));
checkbutton = GTK_TOGGLE_BUTTON(g_object_get_data(ref, "binary_code"));
- g_display_options_set(options, BLC_BINARY, gtk_toggle_button_get_active(checkbutton));
+ g_display_options_set(options, DLC_BINARY, gtk_toggle_button_get_active(checkbutton));
/* Options éventuelles */
diff --git a/src/gui/dialogs/gotox.c b/src/gui/dialogs/gotox.c
index 5ea7c07..ec665c1 100644
--- a/src/gui/dialogs/gotox.c
+++ b/src/gui/dialogs/gotox.c
@@ -36,6 +36,7 @@
#include "../../format/symiter.h"
#include "../../glibext/gbinarycursor.h"
#include "../../gtkext/easygtk.h"
+#include "../../gtkext/gtkblockdisplay.h"
@@ -408,7 +409,7 @@ static void add_new_location_to_list(GtkTreeStore *store, GLoadedBinary *binary,
/* Adresse en mémoire virtuelle */
if (line != NULL)
- virtual = g_buffer_line_get_text(line, BLC_VIRTUAL, BLC_VIRTUAL + 1, true);
+ virtual = g_buffer_line_get_text(line, DLC_VIRTUAL, DLC_VIRTUAL + 1, true);
else
virtual = strdup(_("<line address not found>"));
@@ -498,7 +499,7 @@ static void add_new_location_to_list(GtkTreeStore *store, GLoadedBinary *binary,
/* Contenu d'assemblage */
if (line != NULL)
- content = g_buffer_line_get_text(line, BLC_ASSEMBLY_HEAD, BLC_COUNT, true);
+ content = g_buffer_line_get_text(line, DLC_ASSEMBLY_HEAD, DLC_COUNT, true);
else
content = strdup(_("<assembly line not found>"));