diff options
Diffstat (limited to 'src/dialogs/binparts.c')
-rw-r--r-- | src/dialogs/binparts.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/dialogs/binparts.c b/src/dialogs/binparts.c index 054c7bf..14e1422 100644 --- a/src/dialogs/binparts.c +++ b/src/dialogs/binparts.c @@ -68,7 +68,7 @@ static void save_current_selection(GtkButton *, GObject *); static void close_editor(GtkButton *, GtkWidget *); /* Charge les parties courantes d'un binaire donné. */ -static void load_binary_current_parts(GOpenidaBinary *binary, GObject *ref); +static void load_binary_current_parts(GLoadedBinary *binary, GObject *ref); /* Affiche les parties désassemblées par défaut. */ static void load_default_parts(GObject *); @@ -99,7 +99,7 @@ static void on_part_selection_toggle(GtkCellRendererToggle *, gchar *, GObject * * * ******************************************************************************/ -GtkWidget *create_sections_dialog(GOpenidaBinary *binary, GtkWindow *parent) +GtkWidget *create_sections_dialog(GLoadedBinary *binary, GtkWindow *parent) { GtkWidget *result; /* Fenêtre à renvoyer */ GObject *ref; /* Espace de référencements */ @@ -345,7 +345,7 @@ static void save_current_selection(GtkButton *button, GObject *ref) - GOpenidaBinary *binary; /* Binaire à traiter */ + GLoadedBinary *binary; /* Binaire à traiter */ GExeFormat *format; /* Format associé au binaire */ GArchProcessor *proc; /* Architecture utilisée */ @@ -363,9 +363,9 @@ static void save_current_selection(GtkButton *button, GObject *ref) off_t offset; /* Position dans le binaire */ - binary = G_OPENIDA_BINARY(g_object_get_data(ref, "binary")); + binary = G_LOADED_BINARY(g_object_get_data(ref, "binary")); - format = g_openida_binary_get_format(binary); + format = g_loaded_binary_get_format(binary); proc = get_arch_processor_from_format(format); @@ -402,7 +402,7 @@ static void save_current_selection(GtkButton *button, GObject *ref) } - g_openida_binary_set_parts(binary, BPM_ROUTINES, parts, parts_count); + g_loaded_binary_set_parts(binary, BPM_ROUTINES, parts, parts_count); @@ -451,7 +451,7 @@ static void close_editor(GtkButton *button, GtkWidget *widget) * * ******************************************************************************/ -static void load_binary_current_parts(GOpenidaBinary *binary, GObject *ref) +static void load_binary_current_parts(GLoadedBinary *binary, GObject *ref) { GtkTreeModel *store; /* Modèle de représentation */ GBinPart ***list; /* Tableau de parties choisies */ @@ -472,7 +472,7 @@ static void load_binary_current_parts(GOpenidaBinary *binary, GObject *ref) store = GTK_TREE_MODEL(g_object_get_data(ref, "store")); - list = g_openida_binary_get_parts(binary, &model, &count); + list = g_loaded_binary_get_parts(binary, &model, &count); for (i = 0; i < (BPM_COUNT - 1 /* TODO*/); i++) { @@ -535,7 +535,7 @@ static void load_binary_current_parts(GOpenidaBinary *binary, GObject *ref) static void load_default_parts(GObject *ref) { - GOpenidaBinary *binary; /* Binaire à traiter */ + GLoadedBinary *binary; /* Binaire à traiter */ GtkTreeStore *store; /* Modèle de gestion */ GExeFormat *format; /* Format associé au binaire */ GArchProcessor *proc; /* Architecture utilisée */ @@ -550,10 +550,10 @@ static void load_default_parts(GObject *ref) char end[VMPA_MAX_SIZE]; /* Version humainement lisible */ GtkTreeIter iter; /* Point d'insertion */ - binary = G_OPENIDA_BINARY(g_object_get_data(ref, "binary")); + binary = G_LOADED_BINARY(g_object_get_data(ref, "binary")); store = GTK_TREE_STORE(g_object_get_data(ref, "store")); - format = g_openida_binary_get_format(binary); + format = g_loaded_binary_get_format(binary); proc = get_arch_processor_from_format(format); parts = g_exe_format_get_parts(format, &parts_count); @@ -609,7 +609,7 @@ static void load_default_parts(GObject *ref) static void load_routines_parts(GObject *ref) { - GOpenidaBinary *binary; /* Binaire à traiter */ + GLoadedBinary *binary; /* Binaire à traiter */ GtkTreeStore *store; /* Modèle de gestion */ GExeFormat *format; /* Format associé au binaire */ GArchProcessor *proc; /* Architecture utilisée */ @@ -623,10 +623,10 @@ static void load_routines_parts(GObject *ref) char end[VMPA_MAX_SIZE]; /* Version humainement lisible */ GtkTreeIter iter; /* Point d'insertion */ - binary = G_OPENIDA_BINARY(g_object_get_data(ref, "binary")); + binary = G_LOADED_BINARY(g_object_get_data(ref, "binary")); store = GTK_TREE_STORE(g_object_get_data(ref, "store")); - format = g_openida_binary_get_format(binary); + format = g_loaded_binary_get_format(binary); proc = get_arch_processor_from_format(format); routines = g_binary_format_get_routines(G_BIN_FORMAT(format), &routines_count); |