[gtk/matthiasc/color-profiles: 84/111] memorytexture: Cosmetics




commit 33c739b0f9a59c75ed654c31a9ddd39c63dd6b1c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 3 00:42:32 2021 -0400

    memorytexture: Cosmetics
    
    gi-docgen complained

 gdk/gdkmemorytexture.c | 2 ++
 gdk/gdkmemorytexture.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdk/gdkmemorytexture.c b/gdk/gdkmemorytexture.c
index 4a5474bfe9..11af4591ca 100644
--- a/gdk/gdkmemorytexture.c
+++ b/gdk/gdkmemorytexture.c
@@ -204,6 +204,8 @@ gdk_memory_texture_new (int              width,
  * in the given format.
  *
  * Returns: A newly-created `GdkTexture`
+ *
+ * Since: 4.6
  */
 GdkTexture *
 gdk_memory_texture_new_with_color_profile (int              width,
diff --git a/gdk/gdkmemorytexture.h b/gdk/gdkmemorytexture.h
index f93b098ed7..dd392f5086 100644
--- a/gdk/gdkmemorytexture.h
+++ b/gdk/gdkmemorytexture.h
@@ -140,7 +140,7 @@ GdkTexture *            gdk_memory_texture_new_with_color_profile
                                                             (int                width,
                                                              int                height,
                                                              GdkMemoryFormat    format,
-                                                             GdkColorProfile   *profile,
+                                                             GdkColorProfile   *color_profile,
                                                              GBytes            *bytes,
                                                              gsize              stride);
 


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