[gtk/gtk-3-24: 2/3] GtkDialog: Add `type Gtk.XXX` annotations for return values of action_area/headerbar getters



commit d9fc2bffddbb3bb96db16aa99f992e12ffe6026a
Author: Sebastian Dröge <sebastian centricular com>
Date:   Tue Feb 18 10:51:20 2020 +0200

    GtkDialog: Add `type Gtk.XXX` annotations for return values of action_area/headerbar getters

 gtk/gtkdialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 0ef0f08b24..1905b48db7 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -1941,7 +1941,7 @@ gtk_dialog_buildable_add_child (GtkBuildable  *buildable,
  *
  * Returns the action area of @dialog.
  *
- * Returns: (transfer none): the action area
+ * Returns: (type Gtk.Box) (transfer none): the action area
  *
  * Since: 2.14
  *
@@ -1964,7 +1964,7 @@ gtk_dialog_get_action_area (GtkDialog *dialog)
  * headerbar is only used by the dialog if the
  * #GtkDialog:use-header-bar property is %TRUE.
  *
- * Returns: (transfer none): the header bar
+ * Returns: (type Gtk.HeaderBar) (transfer none): the header bar
  *
  * Since: 3.12
  */


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