diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index d4c849208c..24e49b6385 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -298,13 +298,6 @@ GskRenderNode * gsk_text_node_new (PangoFont double x, double y); GDK_AVAILABLE_IN_ALL -GskRenderNode * gsk_text_node_new_with_bounds (PangoFont *font, - PangoGlyphString *glyphs, - const GdkRGBA *color, - double x, - double y, - const graphene_rect_t *bounds); -GDK_AVAILABLE_IN_ALL const PangoFont * gsk_text_node_peek_font (GskRenderNode *node); GDK_AVAILABLE_IN_ALL guint gsk_text_node_get_num_glyphs (GskRenderNode *node); diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h index 5cae3ec562..89a7f21363 100644 --- a/gsk/gskrendernodeprivate.h +++ b/gsk/gskrendernodeprivate.h @@ -61,6 +61,14 @@ GskRenderNode * gsk_render_node_deserialize_node (GskRenderNodeType typ GskRenderNode * gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds, cairo_surface_t *surface); +GskRenderNode * gsk_text_node_new_with_bounds (PangoFont *font, + PangoGlyphString *glyphs, + const GdkRGBA *color, + double x, + double y, + const graphene_rect_t *bounds); + + G_END_DECLS #endif /* __GSK_RENDER_NODE_PRIVATE_H__ */ diff --git a/gtk/gskpango.c b/gtk/gskpango.c index 1a25920ca2..a486b81add 100644 --- a/gtk/gskpango.c +++ b/gtk/gskpango.c @@ -20,6 +20,7 @@ #include "config.h" #include "gsk/gsk.h" +#include "gsk/gskrendernodeprivate.h" #include "gskpango.h" #include "gtksnapshotprivate.h"