[gtk/matthiasc/for-master] gsk: Fix some docs oversights



commit 57c95937b1b2755e18ccc023626d2126b7200875
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 16 07:43:06 2020 -0500

    gsk: Fix some docs oversights
    
    These apis have been renamed a few times, and the docs
    haven't kept up.

 gsk/gskglshader.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c
index f8450c9870..c7d3b9284d 100644
--- a/gsk/gskglshader.c
+++ b/gsk/gskglshader.c
@@ -1092,7 +1092,7 @@ G_DEFINE_BOXED_TYPE (GskShaderArgsBuilder, gsk_shader_args_builder,
 
 
 /**
- * gsk_gl_shader_build_args:
+ * gsk_shader_args_builder_new:
  * @shader: a #GskGLShader
  * @initial_values: (nullable): optional #Bytes with initial values
  *
@@ -1100,7 +1100,7 @@ G_DEFINE_BOXED_TYPE (GskShaderArgsBuilder, gsk_shader_args_builder,
  * chunk.
  *
  * Returns: (transfer full): The newly allocated builder, free with
- *     gsk_shader_args_builder_free()
+ *     gsk_shader_args_builder_unref()
  */
 GskShaderArgsBuilder *
 gsk_shader_args_builder_new (GskGLShader *shader,
@@ -1149,7 +1149,7 @@ gsk_shader_args_builder_to_args (GskShaderArgsBuilder *builder)
 }
 
 /**
- * gdk_content_formats_builder_free_to_args: (skip)
+ * gdk_shader_args_builder_free_to_args: (skip)
  * @builder: a #GdkContentFormatsBuilder
  *
  * Creates a new #GBytes args from the current state of the


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