From 53431fce2ad882cb9bcb792490c8b161c65d2eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 20 Nov 2019 22:09:54 +0100 Subject: [PATCH] clutter/paint-nodes: Stop using deprecated cogl_pango API As with ClutterText, use the one where you pass the framebuffer explicitly. https://gitlab.gnome.org/GNOME/mutter/merge_requests/935 --- clutter/clutter/clutter-paint-nodes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clutter/clutter/clutter-paint-nodes.c b/clutter/clutter/clutter-paint-nodes.c index f95580f33..7e47e7416 100644 --- a/clutter/clutter/clutter-paint-nodes.c +++ b/clutter/clutter/clutter-paint-nodes.c @@ -841,11 +841,11 @@ clutter_text_node_draw (ClutterPaintNode *node, clipped = TRUE; } - cogl_pango_render_layout (tnode->layout, - op->op.texrect[0], - op->op.texrect[1], - &tnode->color, - 0); + cogl_pango_show_layout (fb, + tnode->layout, + op->op.texrect[0], + op->op.texrect[1], + &tnode->color); if (clipped) cogl_framebuffer_pop_clip (fb);