summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-09-29 23:29:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-09-30 17:58:23 -0400
commit52afccb6a37aeb74ecb75ae71e158b867e6e1ebb (patch)
tree559e9d94c61fb8a322171f899e27006e36acbc99 /gsk
parente9dedc503651c53e611fbc10ff14ef79bff1c8e0 (diff)
downloadgtk+-52afccb6a37aeb74ecb75ae71e158b867e6e1ebb.tar.gz
Fix a doc comment
It was missing a return.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gskrendernodeimpl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index f0c0f02612..d560d8a554 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -4003,7 +4003,7 @@ gsk_text_node_deserialize (GVariant *variant,
}
g_variant_iter_free (iter);
- result = gsk_text_node_new (font, glyphs, &color, x, y); /* FIXME: Avoid copying glyphs */
+ result = gsk_text_node_new (font, glyphs, &color, x, y);
pango_glyph_string_free (glyphs);
pango_font_description_free (desc);
@@ -4035,6 +4035,8 @@ static const GskRenderNodeClass GSK_TEXT_NODE_CLASS = {
* Note that @color may not be used if the font contains
* color glyphs.
*
+ * Returns: a new text node, or %NULL
+ *
* Since: 3.92
*/
GskRenderNode *