gdkdisplay: Remove (nullable)
authorJordan Petridis <jordan@centricular.com>
Mon, 25 Oct 2021 15:40:40 +0000 (18:40 +0300)
committerJordan Petridis <jordan@centricular.com>
Mon, 25 Oct 2021 15:40:40 +0000 (18:40 +0300)
gdk_display_create_gl_context only returns NULL when there is
an error set or asserts/aborts. So nullalbe annotation isn't needed.

Similar to 53312cf696516cdeb1c284008992022a210bb233

gdk/gdkdisplay.c

index d5defbeb82fdb1767efda74498d100d005340649..c7993d436ae1fbad10fa161112adbe7b8290c0fd 100644 (file)
@@ -1340,7 +1340,7 @@ gdk_display_prepare_gl (GdkDisplay  *self,
  * 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`
  *
  * Since: 4.6
  */