More documentation fixes

This commit is contained in:
Matthias Clasen 2015-03-13 22:01:47 -04:00
parent bb3ae47477
commit 0ddb5d729c
2 changed files with 10 additions and 8 deletions

View File

@ -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);

View File

@ -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