From d76bb115cbf201638581429a96e574c57511e1b2 Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 21 Mar 2016 13:55:50 +0100 Subject: [PATCH] Fixed comments on the Gtk::TextView::on_key_press_event issue --- src/source.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index 564fbde..72d0c87 100644 --- a/src/source.cc +++ b/src/source.cc @@ -1283,7 +1283,9 @@ bool Source::View::on_key_press_event_basic(GdkEventKey* key) { return true; } - //Workaround for TextView::on_key_press_event bug sometimes causing segmentation faults TODO: figure out the bug and create pull request to gtk + //Workaround for TextView::on_key_press_event bug sometimes causing segmentation faults + //TODO: figure out the bug and create pull request to gtk + //Have only experienced this on OS X //Note: valgrind reports issues on TextView::on_key_press_event as well auto unicode=gdk_keyval_to_unicode(key->keyval); if(unicode>=32 && unicode!=127) {