From 67360c9d0089ea6e99f0143bf7be8384537da6da Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Wed, 4 Apr 2018 12:00:52 +0100 Subject: [PATCH] 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 --- gtk/gtkglarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c index bbe935f2a7..6ff8c4ab80 100644 --- 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) -- 2.30.2