diff options
Diffstat (limited to 'src/gtkext/gtkstatusstack.c')
-rw-r--r-- | src/gtkext/gtkstatusstack.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gtkext/gtkstatusstack.c b/src/gtkext/gtkstatusstack.c index b5dc0e1..dba5145 100644 --- a/src/gtkext/gtkstatusstack.c +++ b/src/gtkext/gtkstatusstack.c @@ -527,7 +527,7 @@ void gtk_status_stack_update_current_instruction(GtkStatusStack *stack, const GL GExeFormat *format; /* Format de binaire à traiter */ const mrange_t *range; /* Emplacement d'instruction */ const vmpa2t *addr; /* Localisation de départ */ - GPortionLayer *layer; /* Couche première de portions */ + GBinPortion *portions; /* Couche première de portions */ GBinPortion *portion; /* Zone mémoire d'appartenance */ const char *text; /* Texte au contenu à copier */ GBinSymbol *symbol; /* Symbole présent à l'adresse */ @@ -556,9 +556,9 @@ void gtk_status_stack_update_current_instruction(GtkStatusStack *stack, const GL /* Zone d'appartenance */ - layer = g_exe_format_get_main_layer(format); + portions = g_exe_format_get_portions(format); - portion = g_portion_layer_find_portion_at_addr(layer, addr, (GdkRectangle []) { }); + portion = g_binary_portion_find_at_addr(portions, addr, (GdkRectangle []) { }); text = g_binary_portion_get_desc(portion); @@ -567,7 +567,9 @@ void gtk_status_stack_update_current_instruction(GtkStatusStack *stack, const GL else info->segment = strdup(_("Binary")); - g_object_unref(G_OBJECT(layer)); + g_object_unref(G_OBJECT(portion)); + + g_object_unref(G_OBJECT(portions)); /* Adresses de base */ |