summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/export.c2
-rw-r--r--src/dialogs/shellcode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dialogs/export.c b/src/dialogs/export.c
index a29f95f..25d62a7 100644
--- a/src/dialogs/export.c
+++ b/src/dialogs/export.c
@@ -328,7 +328,7 @@ static void register_output_panel(GtkAssistant *assistant)
/* Choix par défaut */
binary = G_LOADED_BINARY(g_object_get_data(G_OBJECT(assistant), "binary"));
- filename = g_loaded_binary_get_filename(binary, true);
+ filename = g_loaded_binary_get_name(binary, true);
gtk_entry_set_text(GTK_ENTRY(entry), filename);
gtk_editable_insert_text(GTK_EDITABLE(entry), ".txt", -1, (gint []) { strlen(filename) });
diff --git a/src/dialogs/shellcode.c b/src/dialogs/shellcode.c
index fb1499d..2f43d99 100644
--- a/src/dialogs/shellcode.c
+++ b/src/dialogs/shellcode.c
@@ -634,7 +634,7 @@ static void register_output_panel(GtkAssistant *assistant)
/* Choix par défaut */
/*
binary = G_LOADED_BINARY(g_object_get_data(G_OBJECT(assistant), "binary"));
- filename = g_loaded_binary_get_filename(binary);
+ filename = g_loaded_binary_get_name(binary);
gtk_entry_set_text(GTK_ENTRY(entry), filename);
gtk_entry_append_text(GTK_ENTRY(entry), ".txt");
@@ -813,7 +813,7 @@ static void register_content_panel(GtkAssistant *assistant)
/* Choix par défaut */
/*
binary = G_LOADED_BINARY(g_object_get_data(G_OBJECT(assistant), "binary"));
- filename = g_loaded_binary_get_filename(binary);
+ filename = g_loaded_binary_get_name(binary);
gtk_entry_set_text(GTK_ENTRY(entry), filename);
gtk_entry_append_text(GTK_ENTRY(entry), ".txt");