[gtk/wip/otte/display-gl: 1/6] surface: Remove (nullable)




commit 53312cf696516cdeb1c284008992022a210bb233
Author: Benjamin Otte <otte redhat com>
Date:   Wed Oct 20 20:02:26 2021 +0200

    surface: Remove (nullable)
    
    The function only returns NULL on error, and such a function is not
    considered nullable.

 gdk/gdksurface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 40d9c21b8f..9430a4a111 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -1171,7 +1171,7 @@ gdk_surface_get_paint_gl_context (GdkSurface  *surface,
  * Before using the returned `GdkGLContext`, you will need to
  * call [method@Gdk.GLContext.make_current] or [method@Gdk.GLContext.realize].
  *
- * Returns: (transfer full) (nullable): the newly created `GdkGLContext`
+ * Returns: (transfer full): the newly created `GdkGLContext`
  */
 GdkGLContext *
 gdk_surface_create_gl_context (GdkSurface   *surface,


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