Commit 303e2022 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

Add missing ownership transfer annotations

parent 3c2312a2
Pipeline #156405 passed with stages
in 46 minutes and 37 seconds
...@@ -367,7 +367,8 @@ gtk_drop_controller_motion_contains_pointer (GtkDropControllerMotion *self) ...@@ -367,7 +367,8 @@ gtk_drop_controller_motion_contains_pointer (GtkDropControllerMotion *self)
* *
* Returns the value of the GtkDropControllerMotion:drop property. * Returns the value of the GtkDropControllerMotion:drop property.
* *
* Returns: The #GdkDrop currently happening within @self or %NULL if none * Returns: (transfer none) (nullable): The #GdkDrop currently happening
* within @self or %NULL if none
*/ */
GdkDrop * GdkDrop *
gtk_drop_controller_motion_get_drop (GtkDropControllerMotion *self) gtk_drop_controller_motion_get_drop (GtkDropControllerMotion *self)
......
...@@ -1459,9 +1459,9 @@ gtk_icon_theme_set_search_path (GtkIconTheme *self, ...@@ -1459,9 +1459,9 @@ gtk_icon_theme_set_search_path (GtkIconTheme *self,
* *
* Gets the current search path. See gtk_icon_theme_set_search_path(). * Gets the current search path. See gtk_icon_theme_set_search_path().
* *
* Returns: (element-type filename): * Returns: (transfer full) (array zero-terminated=1) (element-type filename) (nullable):
* a list of icon theme path directories or %NULL. * a list of icon theme path directories or %NULL.
* The returned value should be freed with g_strfreev(). * The returned value should be freed with g_strfreev().
*/ */
char ** char **
gtk_icon_theme_get_search_path (GtkIconTheme *self) gtk_icon_theme_get_search_path (GtkIconTheme *self)
...@@ -1552,8 +1552,9 @@ gtk_icon_theme_set_resource_path (GtkIconTheme *self, ...@@ -1552,8 +1552,9 @@ gtk_icon_theme_set_resource_path (GtkIconTheme *self,
* *
* See gtk_icon_theme_set_resource_path(). * See gtk_icon_theme_set_resource_path().
* *
* Returns: A list of resource paths or %NULL. * Returns: (transfer full) (array zero-terminated=1) (element-type utf8) (nullable):
* The returned value should be freed with g_strfreev(). * A list of resource paths or %NULL.
* The returned value should be freed with g_strfreev().
*/ */
char ** char **
gtk_icon_theme_get_resource_path (GtkIconTheme *self) gtk_icon_theme_get_resource_path (GtkIconTheme *self)
......
...@@ -260,8 +260,8 @@ G_DEFINE_BOXED_TYPE (GtkTreeRowData, gtk_tree_row_data, ...@@ -260,8 +260,8 @@ G_DEFINE_BOXED_TYPE (GtkTreeRowData, gtk_tree_row_data,
* *
* Creates a content provider for dragging @path from @tree_model. * Creates a content provider for dragging @path from @tree_model.
* *
* Returns: a new #GdkContentProvider * Returns: (transfer full): a new #GdkContentProvider
**/ */
GdkContentProvider * GdkContentProvider *
gtk_tree_create_row_drag_content (GtkTreeModel *tree_model, gtk_tree_create_row_drag_content (GtkTreeModel *tree_model,
GtkTreePath *path) GtkTreePath *path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment