mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
[GI] Add missing (scope) annotations
This commit is contained in:
parent
3c8fc21e9b
commit
9b88eb356d
@ -4431,8 +4431,8 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow *window,
|
||||
* gdk_window_invalidate_maybe_recurse:
|
||||
* @window: a #GdkWindow
|
||||
* @region: a #cairo_region_t
|
||||
* @child_func: function to use to decide if to recurse to a child,
|
||||
* %NULL means never recurse.
|
||||
* @child_func: (scope call): function to use to decide if to recurse
|
||||
* to a child, %NULL means never recurse.
|
||||
* @user_data: data passed to @child_func
|
||||
*
|
||||
* Adds @region to the update area for @window. The update area is the
|
||||
|
@ -965,6 +965,7 @@ if HAVE_INTROSPECTION
|
||||
introspection_files = \
|
||||
$(filter-out %private.h gtktextlayout.h, $(gtkinclude_HEADERS)) \
|
||||
$(gtk_base_c_sources) \
|
||||
gtkprintoperation-unix.c \
|
||||
gtktypebuiltins.h \
|
||||
gtktypebuiltins.c
|
||||
|
||||
|
@ -375,7 +375,8 @@ gtk_accel_groups_from_object (GObject *object)
|
||||
/**
|
||||
* gtk_accel_group_find:
|
||||
* @accel_group: a #GtkAccelGroup
|
||||
* @find_func: a function to filter the entries of @accel_group with
|
||||
* @find_func: (scope call): a function to filter the entries
|
||||
* of @accel_group with
|
||||
* @data: data to pass to @find_func
|
||||
* @returns: the key of the first entry passing @find_func. The key is
|
||||
* owned by GTK+ and must not be freed.
|
||||
|
@ -807,8 +807,8 @@ gtk_accel_map_save (const gchar *file_name)
|
||||
/**
|
||||
* gtk_accel_map_foreach:
|
||||
* @data: data to be passed into @foreach_func
|
||||
* @foreach_func: function to be executed for each accel map entry which
|
||||
* is not filtered out
|
||||
* @foreach_func: (scope call): function to be executed for each accel
|
||||
* map entry which is not filtered out
|
||||
*
|
||||
* Loops over the entries in the accelerator map whose accel path
|
||||
* doesn't match any of the filters added with gtk_accel_map_add_filter(),
|
||||
@ -844,7 +844,8 @@ gtk_accel_map_foreach (gpointer data,
|
||||
/**
|
||||
* gtk_accel_map_foreach_unfiltered:
|
||||
* @data: data to be passed into @foreach_func
|
||||
* @foreach_func: function to be executed for each accel map entry
|
||||
* @foreach_func: (scope call): function to be executed for each accel
|
||||
* map entry
|
||||
*
|
||||
* Loops over all entries in the accelerator map, and execute
|
||||
* @foreach_func on each. The signature of @foreach_func is that of
|
||||
|
@ -1624,7 +1624,7 @@ gtk_cell_area_has_renderer (GtkCellArea *area,
|
||||
/**
|
||||
* gtk_cell_area_foreach:
|
||||
* @area: a #GtkCellArea
|
||||
* @callback: the #GtkCellCallback to call
|
||||
* @callback: (scope call): the #GtkCellCallback to call
|
||||
* @callback_data: user provided data pointer
|
||||
*
|
||||
* Calls @callback for every #GtkCellRenderer in @area.
|
||||
@ -1657,7 +1657,7 @@ gtk_cell_area_foreach (GtkCellArea *area,
|
||||
* @widget: the #GtkWidget that @area is rendering to
|
||||
* @cell_area: the @widget relative coordinates and size for @area
|
||||
* @background_area: the @widget relative coordinates of the background area
|
||||
* @callback: the #GtkCellAllocCallback to call
|
||||
* @callback: (scope call): the #GtkCellAllocCallback to call
|
||||
* @callback_data: user provided data pointer
|
||||
*
|
||||
* Calls @callback for every #GtkCellRenderer in @area with the
|
||||
|
@ -1865,7 +1865,7 @@ gtk_container_class_handle_border_width (GtkContainerClass *klass)
|
||||
/**
|
||||
* gtk_container_forall:
|
||||
* @container: a #GtkContainer
|
||||
* @callback: a callback
|
||||
* @callback: (scope call): a callback
|
||||
* @callback_data: callback user data
|
||||
*
|
||||
* Invokes @callback on each child of @container, including children
|
||||
|
@ -999,7 +999,8 @@ gtk_print_run_page_setup_dialog (GtkWindow *parent,
|
||||
* @parent: (allow-none): transient parent, or %NULL
|
||||
* @page_setup: (allow-none): an existing #GtkPageSetup, or %NULL
|
||||
* @settings: a #GtkPrintSettings
|
||||
* @done_cb: a function to call when the user saves the modified page setup
|
||||
* @done_cb: (scope async): a function to call when the user saves
|
||||
* the modified page setup
|
||||
* @data: user data to pass to @done_cb
|
||||
*
|
||||
* Runs a page setup dialog, letting the user modify the values from @page_setup.
|
||||
|
Loading…
Reference in New Issue
Block a user