summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-19 22:40:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-19 22:40:58 (GMT)
commita1cb0d43b67a8ebe33b967348c5c9f0c1e3fbd29 (patch)
tree66a2eee9b0c0f4e524ee2092a88bc00a39942059 /src
parent59bda76b1a76d796a42ee46b9da7041dbef57253 (diff)
Fixed a bug: be sure to have a registered "binview" object at startup.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@100 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rw-r--r--src/project.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/project.c b/src/project.c
index 21a3380..1a72bd6 100644
--- a/src/project.c
+++ b/src/project.c
@@ -623,6 +623,7 @@ void display_openida_project(const openida_project *project, GObject *ref)
openida_binary *binary;
GtkWidget *view; /* Affichage du code binaire */
GtkDockItem *ditem; /* Panneau avec ses infos. */
+ GtkBinView *binview; /* Affichage à faire défiler */
dpanel = GTK_DOCK_PANEL(g_object_get_data(ref, "binpanel"));
@@ -643,6 +644,10 @@ void display_openida_project(const openida_project *project, GObject *ref)
g_object_set_data(ref, "current_binary", binary);
+ get_view_for_openida_project_binary(project, binary, BVW_BLOCK, &binview);
+ g_object_set_data(ref, "binview", binview);
+
+
reload_symbols_panel_content(get_panel(PNT_SYMBOLS), get_openida_binary_format(binary));
}