surface: Remove (nullable)
authorBenjamin Otte <otte@redhat.com>
Wed, 20 Oct 2021 18:02:26 +0000 (20:02 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 20 Oct 2021 18:02:26 +0000 (20:02 +0200)
The function only returns NULL on error, and such a function is not
considered nullable.

gdk/gdksurface.c

index 40d9c21b8f239995a3e8afd864841b4352ca1a32..9430a4a1116e98d2743a98695f333c679f0c8cbf 100644 (file)
@@ -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,