[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_e
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_e
- Date: Sun, 13 Dec 2015 04:28:52 +0000 (UTC)
commit 4b711f3c72ef7c10cf2449c91ed6328124792cec
Author: Alberto Ruiz <aruiz gnome org>
Date: Sat Dec 12 17:35:27 2015 +0000
nullable annotations:
gtk_entry_completion_get_model
gtk_entry_completion_compute_prefix
gtk_expander_get_label_widget
gtk/gtkentrycompletion.c | 6 +++---
gtk/gtkexpander.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index b60942a..69dbc87 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1177,7 +1177,7 @@ gtk_entry_completion_set_model (GtkEntryCompletion *completion,
* Returns the model the #GtkEntryCompletion is using as data source.
* Returns %NULL if the model is unset.
*
- * Returns: (transfer none): A #GtkTreeModel, or %NULL if none
+ * Returns: (nullable) (transfer none): A #GtkTreeModel, or %NULL if none
* is currently being used
*
* Since: 2.4
@@ -1726,8 +1726,8 @@ gtk_entry_completion_cursor_on_match (GtkEntryCompletion *completion,
* Note that a text column must have been set for this function to work,
* see gtk_entry_completion_set_text_column() for details.
*
- * Returns: (transfer full): The common prefix all rows starting with @key
- * or %NULL if no row matches @key.
+ * Returns: (nullable) (transfer full): The common prefix all rows starting with
+ * @key or %NULL if no row matches @key.
*
* Since: 3.4
**/
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 030f5a8..018ab71 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -1927,7 +1927,7 @@ gtk_expander_set_label_widget (GtkExpander *expander,
* Retrieves the label widget for the frame. See
* gtk_expander_set_label_widget().
*
- * Returns: (transfer none): the label widget,
+ * Returns: (nullable) (transfer none): the label widget,
* or %NULL if there is none
*
* Since: 2.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]