projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faceaec
)
GLArea: Remove wrong transfer annotation on new()
author
Daniel Boles
<dboles.src@gmail.com>
Wed, 4 Apr 2018 11:00:52 +0000
(12:00 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Wed, 4 Apr 2018 11:02:21 +0000
(12:02 +0100)
Like other widgets, this returns a floating reference, so
(transfer full) is wrong. Just omit the annotation as others do,
thus implying (transfer none).
Close https://gitlab.gnome.org/GNOME/gtk/issues/156
gtk/gtkglarea.c
patch
|
blob
|
history
diff --git
a/gtk/gtkglarea.c
b/gtk/gtkglarea.c
index bbe935f2a73de70cca77dc8e7c5918374b9f25b5..6ff8c4ab80bab4e6850237d7d7d0907751994509 100644
(file)
--- a/
gtk/gtkglarea.c
+++ b/
gtk/gtkglarea.c
@@
-970,7
+970,7
@@
gtk_gl_area_init (GtkGLArea *area)
*
* Creates a new #GtkGLArea widget.
*
- * Returns:
(transfer full): the newly created
#GtkGLArea
+ * Returns:
a new
#GtkGLArea
*/
GtkWidget *
gtk_gl_area_new (void)