summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-01-14 16:06:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-01-14 16:06:42 (GMT)
commit2ad11520c0bfefd68a89689497752983792a96ba (patch)
tree9271a1bd90bd58f49b8a68c41b348639f67fb559 /src/gui/tb
parentd90aa93fc202fdf1ba4e4e7e799ce8d7e4632b7f (diff)
Updated calls to take the binary rendering options into account.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@225 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/source.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c
index 8750608..16f237a 100644
--- a/src/gui/tb/source.c
+++ b/src/gui/tb/source.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* source.c - sélection du fichier ciblé lors d'une décompilation
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -222,6 +222,7 @@ static void change_selected_source(GtkComboBox *widget, GObject *ref)
view = GTK_BUFFER_VIEW(g_object_get_data(ref, "current_view"));
if (GTK_IS_BUFFER_VIEW(view))
- gtk_buffer_view_attach_buffer(view, buffer);
+ gtk_buffer_view_attach_buffer(view, buffer,
+ g_openida_binary_display_decomp_lines(binary), NULL);
}