From a1cb0d43b67a8ebe33b967348c5c9f0c1e3fbd29 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 19 Jul 2009 22:40:58 +0000 Subject: 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 --- ChangeLog | 5 +++++ src/project.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 83a39c2..8623149 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 09-07-20 Cyrille Bagard + * src/project.c: + Fix a bug: be sure to have a registered "binview" object at startup. + +09-07-20 Cyrille Bagard + * 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)); } -- cgit v0.11.2-87-g4458