[gnome-builder/wip/gtk4-port: 418/1774] libide/tree: fix origin for status rendering




commit c610684ad7774ab5f463f556d096daf82a0c4096
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]