[gtk/ebassi/gidocgen] applaunchcontext: Add property annotations



commit 441d0aee9e3661381a03f5662c2a337eef6fa596
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 24 09:09:57 2021 -0500

    applaunchcontext: Add property annotations
    
    Connect properties and getters with annotations.

 gdk/gdkapplaunchcontext.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index 30e9ee3bd0..b600ce30bb 100644
--- a/gdk/gdkapplaunchcontext.c
+++ b/gdk/gdkapplaunchcontext.c
@@ -121,6 +121,11 @@ gdk_app_launch_context_class_init (GdkAppLaunchContextClass *klass)
   context_class->get_startup_notify_id = gdk_app_launch_context_get_startup_notify_id;
   context_class->launch_failed = gdk_app_launch_context_launch_failed;
 
+  /**
+   * GdkAppLaunchContext:display: (attributes org.gtk.Property.get=gtk_app_launch_context_get_display)
+   *
+   * The display that the `GdkAppLaunchContext` is on.
+   */
   g_object_class_install_property (gobject_class, PROP_DISPLAY,
     g_param_spec_object ("display", P_("Display"), P_("Display"),
                          GDK_TYPE_DISPLAY,
@@ -166,7 +171,7 @@ gdk_app_launch_context_get_display_name (GAppLaunchContext *context,
 }
 
 /**
- * gdk_app_launch_context_get_display:
+ * gdk_app_launch_context_get_display: (attributes org.gtk.Method.get_property=display)
  * @context: a `GdkAppLaunchContext`
  *
  * Gets the `GdkDisplay` that @context is for.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]