[gtk/ebassi/gidocgen: 151/500] displaymanager: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 151/500] displaymanager: Add property annotations
- Date: Thu, 11 Mar 2021 16:48:07 +0000 (UTC)
commit ce83a0e5bb0c7bebac2627a8fda90d270334df80
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 24 20:03:22 2021 -0500
displaymanager: Add property annotations
Connect properties, getters, and setters with annotations.
gdk/gdkdisplaymanager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index f1fbad2897..c7e2a31f63 100644
--- a/gdk/gdkdisplaymanager.c
+++ b/gdk/gdkdisplaymanager.c
@@ -150,7 +150,7 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass)
GDK_TYPE_DISPLAY);
/**
- * GdkDisplayManager:default-display:
+ * GdkDisplayManager:default-display: (attributes
org.gtk.Property.get=gdk_display_manager_get_default_display)
*
* The default display.
*/
@@ -304,7 +304,7 @@ gdk_display_manager_get (void)
}
/**
- * gdk_display_manager_get_default_display:
+ * gdk_display_manager_get_default_display: (attributes org.gtk.Method.get_property=default-display)
* @manager: a `GdkDisplayManager`
*
* Gets the default `GdkDisplay`.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]