projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33470fd
)
gdkdisplay: Remove (nullable)
author
Jordan Petridis
<jordan@centricular.com>
Mon, 25 Oct 2021 15:40:40 +0000
(18:40 +0300)
committer
Jordan 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
patch
|
blob
|
history
diff --git
a/gdk/gdkdisplay.c
b/gdk/gdkdisplay.c
index d5defbeb82fdb1767efda74498d100d005340649..c7993d436ae1fbad10fa161112adbe7b8290c0fd 100644
(file)
--- 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
*/