[gtk/alatiera/gdk_create_context_nullable] gdkdisplay: Remove (nullable)
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/alatiera/gdk_create_context_nullable] gdkdisplay: Remove (nullable)
- Date: Mon, 25 Oct 2021 15:42:52 +0000 (UTC)
commit 4cda2aec57910afff7ffab7be09d8dc0770206d5
Author: Jordan Petridis <jordan centricular com>
Date: Mon Oct 25 18:40:40 2021 +0300
gdkdisplay: Remove (nullable)
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index d5defbeb82..c7993d436a 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]