[gnome-builder] omnigutter: ignore highlight for non-debuggable files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] omnigutter: ignore highlight for non-debuggable files
- Date: Wed, 20 Sep 2017 08:22:48 +0000 (UTC)
commit 8b3c4214aec008ed2be3a5db237fdfeb3a028826
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 20 01:22:35 2017 -0700
omnigutter: ignore highlight for non-debuggable files
If the file is not debuggable, then we do not need to change the highlight
color for the prelight background.
libide/sourceview/ide-omni-gutter-renderer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/sourceview/ide-omni-gutter-renderer.c b/libide/sourceview/ide-omni-gutter-renderer.c
index e3ec249..6722a64 100644
--- a/libide/sourceview/ide-omni-gutter-renderer.c
+++ b/libide/sourceview/ide-omni-gutter-renderer.c
@@ -1086,7 +1086,7 @@ ide_omni_gutter_renderer_draw (GtkSourceGutterRenderer *renderer,
cairo_move_to (cr, cell_area->x, cell_area->y);
- if (has_breakpoint || active)
+ if (has_breakpoint || (self->breakpoints != NULL && active))
{
gdk_cairo_set_source_rgba (cr, &self->bkpt.fg);
bold = self->bkpt.bold;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]