[gtk+] Fix a doc comment



commit 52afccb6a37aeb74ecb75ae71e158b867e6e1ebb
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 29 23:29:33 2017 -0400

    Fix a doc comment
    
    It was missing a return.

 gsk/gskrendernodeimpl.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index f0c0f02..d560d8a 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 *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]