diff options
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r-- | gtk/gtkentrycompletion.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index 68b758a9f6..05b817c5c7 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -998,7 +998,7 @@ gtk_entry_completion_new (void) * * Gets the entry @completion has been attached to. * - * Return value: The entry @completion has been attached to. + * Return value: (transfer none): The entry @completion has been attached to. * * Since: 2.4 */ @@ -1062,7 +1062,8 @@ gtk_entry_completion_set_model (GtkEntryCompletion *completion, * Returns the model the #GtkEntryCompletion is using as data source. * Returns %NULL if the model is unset. * - * Return value: A #GtkTreeModel, or %NULL if none is currently being used. + * Return value: (transfer none): A #GtkTreeModel, or %NULL if none + * is currently being used. * * Since: 2.4 */ @@ -1073,7 +1074,7 @@ gtk_entry_completion_get_model (GtkEntryCompletion *completion) if (!completion->priv->filter_model) return NULL; - + return gtk_tree_model_filter_get_model (completion->priv->filter_model); } |