[gtk/ebassi/gidocgen: 4/26] glcontext: Add property annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 4/26] glcontext: Add property annotations
- Date: Thu, 25 Feb 2021 04:25:30 +0000 (UTC)
commit b48866f20c0dfa5f3d1bbfa60e5457d553d7daef
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 24 20:04:17 2021 -0500
glcontext: Add property annotations
Connect properties, getters, and setters with annotations.
gdk/gdkglcontext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index b9d802acf9..105f211e6d 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]