[gnome-builder/wip/gtk4-port] libide/tree: fix origin for status rendering
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/tree: fix origin for status rendering
- Date: Wed, 6 Apr 2022 20:13:56 +0000 (UTC)
commit 5515b8004e84de218ea836a42875351c6dcef6fc
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 6 13:13:45 2022 -0700
libide/tree: fix origin for status rendering
src/libide/tree/ide-cell-renderer-status.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/tree/ide-cell-renderer-status.c b/src/libide/tree/ide-cell-renderer-status.c
index ea082a5ad..1ca087bd2 100644
--- a/src/libide/tree/ide-cell-renderer-status.c
+++ b/src/libide/tree/ide-cell-renderer-status.c
@@ -111,6 +111,8 @@ ide_cell_renderer_status_snapshot (GtkCellRenderer *cell,
cell_area->width,
cell_area->height));
+ cairo_translate (cr, cell_area->x, cell_area->y);
+
cairo_arc (cr,
cell_area->width - RPAD - (CELL_WIDTH/2),
(cell_area->height / 2),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]