mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
Merge branch 'missing-transfer-notation' into 'master'
Add missing transfer notation for function return types. See merge request GNOME/gtk!1302
This commit is contained in:
commit
4d55d23c1a
@ -412,7 +412,7 @@ gtk_builder_cscope_init (GtkBuilderCScope *self)
|
||||
* Calling this function is only necessary if you want to add custom
|
||||
* callbacks via gtk_builder_cscope_add_callback_symbol().
|
||||
*
|
||||
* Returns: a new #GtkBuilderCScope
|
||||
* Returns: (transfer full): a new #GtkBuilderCScope
|
||||
**/
|
||||
GtkBuilderScope *
|
||||
gtk_builder_cscope_new (void)
|
||||
@ -502,7 +502,7 @@ gtk_builder_cscope_add_callback_symbols (GtkBuilderCScope *self,
|
||||
* Fetches a symbol previously added to @self
|
||||
* with gtk_builder_cscope_add_callback_symbol().
|
||||
*
|
||||
* Returns: (nullable): The callback symbol in @builder for @callback_name, or %NULL
|
||||
* Returns: (nullable) (transfer none): The callback symbol in @builder for @callback_name, or %NULL
|
||||
*/
|
||||
GCallback
|
||||
gtk_builder_cscope_lookup_callback_symbol (GtkBuilderCScope *self,
|
||||
|
@ -514,7 +514,7 @@ gtk_drag_dest_hierarchy_changed (GtkWidget *widget,
|
||||
*
|
||||
* Returns the underlying #GtkDrop object for an ongoing drag.
|
||||
*
|
||||
* Returns: (nullable): the #GtkDrop of the current drag operation, or %NULL
|
||||
* Returns: (nullable) (transfer none): the #GtkDrop of the current drag operation, or %NULL
|
||||
*/
|
||||
GdkDrop *
|
||||
gtk_drop_target_get_drop (GtkDropTarget *dest)
|
||||
|
@ -518,7 +518,7 @@ gtk_drag_source_new (void)
|
||||
*
|
||||
* Gets the current content provider of a #GtkDragSource.
|
||||
*
|
||||
* Returns: the #GtkContentProvider of @source
|
||||
* Returns: (transfer none): the #GtkContentProvider of @source
|
||||
*/
|
||||
GdkContentProvider *
|
||||
gtk_drag_source_get_content (GtkDragSource *source)
|
||||
@ -640,7 +640,7 @@ gtk_drag_source_set_icon (GtkDragSource *source,
|
||||
*
|
||||
* Returns the underlying #GtkDrag object for an ongoing drag.
|
||||
*
|
||||
* Returns: (nullable): the #GdkDrag of the current drag operation, or %NULL
|
||||
* Returns: (nullable) (transfer none): the #GdkDrag of the current drag operation, or %NULL
|
||||
*/
|
||||
GdkDrag *
|
||||
gtk_drag_source_get_drag (GtkDragSource *source)
|
||||
|
@ -633,7 +633,7 @@ gtk_popover_menu_set_menu_model (GtkPopoverMenu *popover,
|
||||
*
|
||||
* Returns the menu model used to populate the popover.
|
||||
*
|
||||
* Returns: the menu model of @popover
|
||||
* Returns: (transfer none): the menu model of @popover
|
||||
*/
|
||||
GMenuModel *
|
||||
gtk_popover_menu_get_menu_model (GtkPopoverMenu *popover)
|
||||
|
Loading…
Reference in New Issue
Block a user