[egg-list-box] Fix annotation
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] Fix annotation
- Date: Thu, 14 Feb 2013 19:35:41 +0000 (UTC)
commit b9c7372e1d7d59db38c615b9c080fb6a2bb7228f
Author: William Jon McCann <jmccann redhat com>
Date: Thu Feb 14 14:10:16 2013 -0500
Fix annotation
egg-flow-box.c | 2 +-
egg-list-box.c | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/egg-flow-box.c b/egg-flow-box.c
index f895ffb..f8a9699 100644
--- a/egg-flow-box.c
+++ b/egg-flow-box.c
@@ -3268,7 +3268,7 @@ egg_flow_box_select_child (EggFlowBox *box,
/**
* egg_flow_box_selected_foreach:
- * @flow_box: An #EggFlowBox.
+ * @box: An #EggFlowBox.
* @func: (scope call): The function to call for each selected child.
* @data: User data to pass to the function.
*
diff --git a/egg-list-box.c b/egg-list-box.c
index 6df807b..aa6d389 100644
--- a/egg-list-box.c
+++ b/egg-list-box.c
@@ -474,6 +474,14 @@ egg_list_box_class_init (EggListBoxClass *klass)
"toggle-cursor-child", 0, NULL);
}
+/**
+ * egg_list_box_get_selected_child:
+ * @self: An #EggListBox.
+ *
+ * Gets the selected child.
+ *
+ * Return value: (transfer none): The selected #GtkWidget.
+ **/
GtkWidget *
egg_list_box_get_selected_child (EggListBox *list_box)
{
@@ -487,6 +495,15 @@ egg_list_box_get_selected_child (EggListBox *list_box)
return NULL;
}
+/**
+ * egg_list_box_get_child_at_y:
+ * @self: An #EggListBox.
+ * @y: position
+ *
+ * Gets the child at the position.
+ *
+ * Return value: (transfer none): The child #GtkWidget.
+ **/
GtkWidget *
egg_list_box_get_child_at_y (EggListBox *list_box, gint y)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]