gl area: Add a few missing docs

This commit is contained in:
Matthias Clasen 2015-04-20 17:52:48 -04:00
parent 1a0726ef31
commit b2e121039e
2 changed files with 4 additions and 2 deletions

View File

@ -884,10 +884,10 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
GDK_TYPE_GL_CONTEXT);
/**
* GtkGLArea::resized:
* GtkGLArea::resize:
* @area: the #GtkGLArea that emitted the signal
*
* The ::resized signal is emitted once when the widget is realized, and
* The ::resize signal is emitted once when the widget is realized, and
* then each time the widget is changed while realized. This is useful
* in order to keep GL state up to date with the widget size, like for
* instance camera properties which may depend on the width/height ratio.

View File

@ -55,6 +55,8 @@ struct _GtkGLArea
/**
* GtkGLAreaClass:
* @render: class closure for the #GtkGLArea::render signal
* @resize: class closeure for the #GtkGLArea::resize signal
* @create_context: class closure for the #GtkGLArea::create-context signal
*
* The `GtkGLAreaClass` structure contains only private data.
*