[gnome-builder/wip/gtk4-port: 1179/1774] plugins/omni-gutter: add note about symbolics
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1179/1774] plugins/omni-gutter: add note about symbolics
- Date: Mon, 11 Jul 2022 22:31:37 +0000 (UTC)
commit 6470104de8db8b94d3281e3a9732f72edf225fd6
Author: Christian Hergert <chergert redhat com>
Date: Thu May 26 14:56:17 2022 -0700
plugins/omni-gutter: add note about symbolics
We still need to do this so leave a note about it for later.
src/plugins/omni-gutter/gbp-omni-gutter-renderer.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
index 10eb69750..359797b11 100644
--- a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
+++ b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
@@ -1252,6 +1252,9 @@ draw_diagnostic (GbpOmniGutterRenderer *self,
&GRAPHENE_POINT_INIT (2,
line_y + ((height - self->diag_size) / 2)));
gdk_paintable_snapshot (paintable, GDK_SNAPSHOT (snapshot), self->diag_size, self->diag_size);
+#if 0
+ gtk_symbolic_paintable_snapshot_symbolic (GTK_SYMBOLIC_PAINTABLE (paintable), snapshot,
self->diag_size, self->diag_size, colors, n_colors);
+#endif
gtk_snapshot_restore (snapshot);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]