[gtk+/gtk-3-18] GtkListBox: get_row_at_y can return NULL
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] GtkListBox: get_row_at_y can return NULL
- Date: Thu, 28 Jan 2016 03:29:42 +0000 (UTC)
commit 4bf28f8a3bf0813e785d7ecea8f7e817baee4e08
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 2dbe0cd..56d56b5 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -677,7 +677,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]