summaryrefslogtreecommitdiff
path: root/gtk/gtkglarea.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2018-04-04 12:00:52 +0100
committerDaniel Boles <dboles.src@gmail.com>2018-04-04 12:02:21 +0100
commit67360c9d0089ea6e99f0143bf7be8384537da6da (patch)
treea73ad7919ebf8d321f0c0afa49922b1d97d3acde /gtk/gtkglarea.c
parentfaceaec20ae3e9de9d02d31ed850919eddbb6f85 (diff)
downloadgtk+-67360c9d0089ea6e99f0143bf7be8384537da6da.tar.gz
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
Diffstat (limited to 'gtk/gtkglarea.c')
-rw-r--r--gtk/gtkglarea.c2
1 files changed, 1 insertions, 1 deletions
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)