summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-10 20:16:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-10 20:16:25 (GMT)
commit61b7967d5031e0724ac8d02694ff58505818a5a0 (patch)
tree4b9ea233e61ee9e688fd29e93a8061732a755e6e /src/gui/tb
parentabc912f8500312c888832ff521d3dd17d8b2c613 (diff)
Refreshed all menu accesses in a better way.
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c
index 61ad242..466bade 100644
--- a/src/gui/tb/source.c
+++ b/src/gui/tb/source.c
@@ -309,7 +309,7 @@ static void change_selected_source(GtkComboBox *widget, GSourceTbItem *item)
binary = G_LOADED_BINARY(g_object_get_data(ref, "current_binary"));
buffer = g_loaded_binary_get_decompiled_buffer(binary, index);
- view = GTK_BUFFER_VIEW(g_object_get_data(ref, "current_view"));
+ view = GTK_BUFFER_VIEW(g_object_get_data(ref, /*"current_view"*/)); /* TODO : utiliser g_editor_item_get_current_view() */
if (GTK_IS_BUFFER_VIEW(view))
gtk_buffer_view_attach_buffer(view, buffer,
g_loaded_binary_display_decomp_lines(binary), NULL);