[gtk/ebassi/gidocgen: 172/465] colorbutton: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 172/465] colorbutton: Add property annotations
- Date: Mon, 8 Mar 2021 22:26:09 +0000 (UTC)
commit f02ab091c8ebf0d45f4a733a6af1b120f034b2f0
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 18:22:09 2021 -0500
colorbutton: Add property annotations
Connect properties, getters, and setters with annotations
gtk/gtkcolorbutton.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 82ae315aa4..f3334599fa 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -160,7 +160,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_override_property (gobject_class, PROP_USE_ALPHA, "use-alpha");
/**
- * GtkColorButton:title:
+ * GtkColorButton:title: (attributes org.gtk.Property.get=gtk_color_button_get_title
org.gtk.Property.set=gtk_color_button_set_title)
*
* The title of the color chooser dialog
*/
@@ -211,7 +211,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
- * GtkColorButton:modal:
+ * GtkColorButton:modal: (attributes org.gtk.Property.get=gtk_color_button_get_modal
org.gtk.Property.set=gtk_color_button_set_modal)
*
* Whether the color chooser dialog should be modal.
*/
@@ -528,7 +528,7 @@ set_use_alpha (GtkColorButton *button,
}
/**
- * gtk_color_button_set_title:
+ * gtk_color_button_set_title: (attributes org.gtk.Method.set_property=title)
* @button: a `GtkColorButton`
* @title: String containing new window title
*
@@ -553,7 +553,7 @@ gtk_color_button_set_title (GtkColorButton *button,
}
/**
- * gtk_color_button_get_title:
+ * gtk_color_button_get_title: (attributes org.gtk.Method.get_property=title)
* @button: a `GtkColorButton`
*
* Gets the title of the color chooser dialog.
@@ -569,7 +569,7 @@ gtk_color_button_get_title (GtkColorButton *button)
}
/**
- * gtk_color_button_set_modal:
+ * gtk_color_button_set_modal: (attributes org.gtk.Method.set_property=modal)
* @button: a `GtkColorButton`
* @modal: %TRUE to make the dialog modal
*
@@ -593,7 +593,7 @@ gtk_color_button_set_modal (GtkColorButton *button,
}
/**
- * gtk_color_button_get_modal:
+ * gtk_color_button_get_modal: (attributes org.gtk.Method.get_property=modal)
* @button: a `GtkColorButton`
*
* Gets whether the dialog is modal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]