GLArea: Remove wrong transfer annotation on new()
authorDaniel Boles <dboles.src@gmail.com>
Wed, 4 Apr 2018 11:00:52 +0000 (12:00 +0100)
committerDaniel 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

index bbe935f2a73de70cca77dc8e7c5918374b9f25b5..6ff8c4ab80bab4e6850237d7d7d0907751994509 100644 (file)
@@ -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)