[gtk+/gi-annotations-2: 2/12] [GI] Add missing (scope) annotations
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gi-annotations-2: 2/12] [GI] Add missing (scope) annotations
- Date: Tue, 18 Jan 2011 09:32:26 +0000 (UTC)
commit dfcbbe02b247ea4905f60ae0a9db240d228d6063
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Tue Jan 18 10:14:56 2011 +0100
[GI] Add missing (scope) annotations
gdk/gdkwindow.c | 4 ++--
gtk/Makefile.am | 1 +
gtk/gtkaccelgroup.c | 3 ++-
gtk/gtkaccelmap.c | 7 ++++---
gtk/gtkcellarea.c | 4 ++--
gtk/gtkcontainer.c | 2 +-
gtk/gtkprintoperation-unix.c | 3 ++-
7 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 30d5c8d..aa9fb3c 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 04bbadd..225341f 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 9e43cca..5a52359 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.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.
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index 2b0fc3d..f678f02 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -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
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 2175f50..8976c22 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -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
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index cd400b3..d531bba 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -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
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 2431371..d3a8a37 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]