forked from AuroraMiddleware/gtk
GLArea: Remove wrong transfer annotation on new()
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
This commit is contained in:
parent
faceaec20a
commit
67360c9d00
@ -970,7 +970,7 @@ gtk_gl_area_init (GtkGLArea *area)
|
|||||||
*
|
*
|
||||||
* Creates a new #GtkGLArea widget.
|
* Creates a new #GtkGLArea widget.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): the newly created #GtkGLArea
|
* Returns: a new #GtkGLArea
|
||||||
*/
|
*/
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
gtk_gl_area_new (void)
|
gtk_gl_area_new (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user