summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/project.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 83a39c2..8623149 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));
}