[gtk+] GtkListBox: get_row_at_y can return NULL
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkListBox: get_row_at_y can return NULL
- Date: Wed, 6 Jan 2016 15:03:59 +0000 (UTC)
commit a9d5fa4cfe7f377d14273e038ee6eae980f5e9e7
Author: Timm Bäder <mail baedert org>
Date: Wed Jan 6 10:46:29 2016 +0100
GtkListBox: get_row_at_y can return NULL
gtk/gtklistbox.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index be879d4..85c8585 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -721,7 +721,8 @@ gtk_list_box_get_row_at_index (GtkListBox *box,
*
* Gets the row at the @y position.
*
- * Returns: (transfer none): the row
+ * Returns: (transfer none) (nullable): the row or %NULL
+ * in case no row exists for the given y coordinate.
*
* Since: 3.10
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]