summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 10:14:56 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 13:57:15 +0100
commit9b88eb356dde2578ff652511fcfc083b66be7b0b (patch)
tree1cb2fb0483a5a8df0027c6659bc0313fd7fea80a
parent3c8fc21e9b3e035b86ae0715b62dd88085ec08a8 (diff)
downloadgtk+-9b88eb356dde2578ff652511fcfc083b66be7b0b.tar.gz
[GI] Add missing (scope) annotations
-rw-r--r--gdk/gdkwindow.c4
-rw-r--r--gtk/Makefile.am1
-rw-r--r--gtk/gtkaccelgroup.c3
-rw-r--r--gtk/gtkaccelmap.c7
-rw-r--r--gtk/gtkcellarea.c4
-rw-r--r--gtk/gtkcontainer.c2
-rw-r--r--gtk/gtkprintoperation-unix.c3
7 files changed, 14 insertions, 10 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 30d5c8d52c..aa9fb3c3d4 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 04bbadd51e..225341f6f8 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 560386dd31..f575c54a30 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 26577738f6..32d8c796a2 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 2175f5078e..8976c2225d 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 cd400b3e02..d531bbae10 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 2431371f0c..d3a8a37513 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.