summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-03-28 16:37:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-03-28 16:37:00 (GMT)
commitd5e55f2ad015781bd7bee0e3216e47d6218e0841 (patch)
treefe23d48509be3b4acb88b980539c271d699523e4 /src/dialogs
parent8123d9342f92a2cf6fd999b350252c001f403092 (diff)
Made the g_rendering_options_new() function simple.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@145 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/export.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dialogs/export.c b/src/dialogs/export.c
index 3c97815..69841f3 100644
--- a/src/dialogs/export.c
+++ b/src/dialogs/export.c
@@ -204,7 +204,6 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref)
{
GOpenidaBinary *binary; /* Binaire chargé à parcourir */
GExeFormat *format; /* Format du binaire */
- GArchProcessor *proc; /* Architecture visée */
GRenderingOptions *options; /* Options d'exportation */
GtkToggleButton *checkbutton; /* Coche à retrouver */
gboolean state; /* Valeur à prendre en compte */
@@ -216,9 +215,7 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref)
binary = G_OPENIDA_BINARY(g_object_get_data(ref, "binary"));
format = g_openida_binary_get_format(binary);
- proc = get_arch_processor_from_format(format);
-
- options = g_rendering_options_new(format, proc);
+ options = g_rendering_options_new(format);
/* Eléments à afficher */