From 0ddb5d729c8a0f9342f20b913d2c073c7811a6af Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 Mar 2015 22:01:47 -0400 Subject: [PATCH] More documentation fixes --- gtk/gtkglarea.c | 10 ++++++---- gtk/gtkglarea.h | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c index d0453a1bac..1936a7b47c 100644 --- a/gtk/gtkglarea.c +++ b/gtk/gtkglarea.c @@ -966,6 +966,8 @@ gtk_gl_area_get_error (GtkGLArea *area) /** * gtk_gl_area_set_required_version: * @area: a #GtkGLArea + * @major: the major version + * @minor: the minor version * * Sets the required version of OpenGL to be used when creating the context * for the widget. @@ -976,8 +978,8 @@ gtk_gl_area_get_error (GtkGLArea *area) */ void gtk_gl_area_set_required_version (GtkGLArea *area, - int major, - int minor) + gint major, + gint minor) { GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); @@ -1000,8 +1002,8 @@ gtk_gl_area_set_required_version (GtkGLArea *area, */ void gtk_gl_area_get_required_version (GtkGLArea *area, - int *major, - int *minor) + gint *major, + gint *minor) { GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h index 86e87cabfa..ebd0829b9e 100644 --- a/gtk/gtkglarea.h +++ b/gtk/gtkglarea.h @@ -85,12 +85,12 @@ GtkWidget * gtk_gl_area_new (void); GDK_AVAILABLE_IN_3_16 void gtk_gl_area_set_required_version (GtkGLArea *area, - int major, - int minor); + gint major, + gint minor); GDK_AVAILABLE_IN_3_16 void gtk_gl_area_get_required_version (GtkGLArea *area, - int *major, - int *minor); + gint *major, + gint *minor); GDK_AVAILABLE_IN_3_16 gboolean gtk_gl_area_get_has_alpha (GtkGLArea *area); GDK_AVAILABLE_IN_3_16