[gnome-builder/wip/chergert/gutter] fix diag positioning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/gutter] fix diag positioning
- Date: Mon, 18 Sep 2017 02:47:24 +0000 (UTC)
commit ee6f6d5af76f3606c1e4ea89b7e5ea29e0438ed2
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 17 19:47:16 2017 -0700
fix diag positioning
libide/sourceview/ide-omni-gutter-renderer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/sourceview/ide-omni-gutter-renderer.c b/libide/sourceview/ide-omni-gutter-renderer.c
index 61f602c..6de1a69 100644
--- a/libide/sourceview/ide-omni-gutter-renderer.c
+++ b/libide/sourceview/ide-omni-gutter-renderer.c
@@ -726,12 +726,12 @@ draw_diagnostic (IdeOmniGutterRenderer *self,
{
cairo_rectangle (cr,
area->x + 2,
- area->y + ((area->height - DIAGNOSTICS_SIZE) / 2) + 1,
+ area->y + ((area->height - DIAGNOSTICS_SIZE) / 2),
DIAGNOSTICS_SIZE, DIAGNOSTICS_SIZE);
cairo_set_source_surface (cr,
surface,
area->x + 2,
- area->y + ((area->height - DIAGNOSTICS_SIZE) / 2) + 1);
+ area->y + ((area->height - DIAGNOSTICS_SIZE) / 2));
cairo_paint (cr);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]