[gnome-builder] source-view: thar be dragons
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] source-view: thar be dragons
- Date: Thu, 11 Dec 2014 00:07:40 +0000 (UTC)
commit a809b4408f9c52aff8d07429853f216823fcbf90
Author: Christian Hergert <christian hergert me>
Date: Wed Dec 3 12:14:42 2014 -0800
source-view: thar be dragons
src/editor/gb-source-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index ec896a1..6512213 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -574,6 +574,10 @@ get_rect_for_iters (GtkTextView *text_view,
gtk_text_view_get_iter_location (text_view, &iter, &tmp);
gdk_rectangle_union (&area, &tmp, &area);
+ /* ive seen a crash on the following line due to invalid textiter.
+ * none of these functions appear to me to be doing modifications,
+ * so im a bit perplexed. maybe stack corruption?
+ */
gtk_text_iter_forward_to_line_end (&iter);
gtk_text_view_get_iter_location (text_view, &iter, &tmp);
gdk_rectangle_union (&area, &tmp, &area);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]