glcontext: Add property annotations

Connect properties, getters, and setters with annotations.
This commit is contained in:
Matthias Clasen 2021-02-24 20:04:17 -05:00 committed by Emmanuele Bassi
parent d92647a92b
commit 34533b544a

View File

@ -412,7 +412,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
draw_context_class->surface_resized = gdk_gl_context_surface_resized;
/**
* GdkGLContext:shared-context:
* GdkGLContext:shared-context: (attributes org.gtk.Property.get=gdk_gl_context_get_shared_context)
*
* The `GdkGLContext` that this context is sharing data with, or %NULL
*/
@ -1154,7 +1154,7 @@ gdk_gl_context_get_surface (GdkGLContext *context)
}
/**
* gdk_gl_context_get_shared_context:
* gdk_gl_context_get_shared_context: (attributes org.gtk.Method.get_property=shared-context)
* @context: a `GdkGLContext`
*
* Retrieves the `GdkGLContext` that this @context share data with.