[gtk/ebassi/gidocgen: 163/200] displaymanager: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 163/200] displaymanager: Add property annotations
- Date: Thu, 25 Feb 2021 13:08:23 +0000 (UTC)
commit 6feeaa314a6c42c5686dc0c8329b27c192a20531
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 217b690dc0..3369fa479d 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.
*/
@@ -295,7 +295,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]