From 34533b544afd238acbcddfa2f97fb43c4e6eec38 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Feb 2021 20:04:17 -0500 Subject: [PATCH] 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 adcd92eaf1..7c3c0a0a79 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.