diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-07-19 22:40:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-07-19 22:40:58 (GMT) |
commit | a1cb0d43b67a8ebe33b967348c5c9f0c1e3fbd29 (patch) | |
tree | 66a2eee9b0c0f4e524ee2092a88bc00a39942059 | |
parent | 59bda76b1a76d796a42ee46b9da7041dbef57253 (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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/project.c | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,10 @@ 09-07-20 Cyrille Bagard <nocbos@gmail.com> + * src/project.c: + Fix a bug: be sure to have a registered "binview" object at startup. + +09-07-20 Cyrille Bagard <nocbos@gmail.com> + * configure.ac: Add the new Makefiles from the 'plugins' and 'plugins/stackvars' directories to AC_CONFIG_FILES. 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)); } |