summaryrefslogtreecommitdiff
path: root/src/gui/panels/strings.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-27 09:47:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-27 10:07:59 (GMT)
commitacd37cbf8578686d2e5bae64b6b4eb6d2bc5376b (patch)
treec3ec34400c422ccd3e0f122ae6c0ec7ea67e37de /src/gui/panels/strings.c
parent8ca477e012b11a19363542d171b8e973d637641c (diff)
Deleted the reference to the main window in all panels.
Diffstat (limited to 'src/gui/panels/strings.c')
-rw-r--r--src/gui/panels/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c
index c9d971e..6ae44b1 100644
--- a/src/gui/panels/strings.c
+++ b/src/gui/panels/strings.c
@@ -1054,7 +1054,7 @@ static void mcb_strings_panel_find_refs(GtkMenuItem *menuitem, GStringsPanel *pa
*/
instr = g_arch_processor_find_instr_by_address(proc, get_mrange_addr(range));
- ref = g_editor_item_get_global_ref(G_EDITOR_ITEM(panel));
+ ref = G_OBJECT(get_editor_window());//g_editor_item_get_global_ref(G_EDITOR_ITEM(panel));
dialog = create_gotox_dialog_for_cross_references(GTK_WINDOW(ref), binary, instr, true);