From: Daniel Boles Date: Wed, 4 Apr 2018 11:00:52 +0000 (+0100) Subject: GLArea: Remove wrong transfer annotation on new() X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~686 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=67360c9d0089ea6e99f0143bf7be8384537da6da;p=gtk4.git 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 --- 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)