[gobject-introspection] Update glib annotations from git master



commit 850d7b03c43b5ffecbfd7bf0682293ef62b7b19a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 16 14:58:39 2014 -0600

    Update glib annotations from git master

 gir/gio-2.0.c  |    4 +++-
 gir/glib-2.0.c |   13 ++++++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index ba8a8ee..d7a8047 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -5337,7 +5337,7 @@
  * implements methods for getting information that all files should
  * contain, and allows for manipulation of extended attributes.
  *
- * See [GFileAttribute][gio-GFileAttribute for more information on how
+ * See [GFileAttribute][gio-GFileAttribute] for more information on how
  * GIO handles file attributes.
  *
  * To obtain a #GFileInfo for a #GFile, use g_file_query_info() (or its
@@ -18687,6 +18687,8 @@
  * An application implements an interface if that interface is listed in
  * the Implements= line of the desktop file of the application.
  *
+ * Returns: (element-type GDesktopAppInfo) (transfer full): a list of #GDesktopAppInfo
+ * objects.
  * Since: 2.42
  */
 
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index de9db6b..3e8cc42 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -4997,9 +4997,11 @@
  * An example using a #GPtrArray:
  * |[<!-- language="C" -->
  *   GPtrArray *array;
- *   gchar *string1 = "one", *string2 = "two", *string3 = "three";
+ *   gchar *string1 = "one";
+ *   gchar *string2 = "two";
+ *   gchar *string3 = "three";
  *
- *   gparray = g_ptr_array_new ();
+ *   array = g_ptr_array_new ();
  *   g_ptr_array_add (array, (gpointer) string1);
  *   g_ptr_array_add (array, (gpointer) string2);
  *   g_ptr_array_add (array, (gpointer) string3);
@@ -29316,11 +29318,16 @@
  * until it is destroyed by g_thread_pool_free(). If @exclusive is
  * %FALSE, threads are created when needed and shared between all
  * non-exclusive thread pools. This implies that @max_threads may
- * not be -1 for exclusive thread pools.
+ * not be -1 for exclusive thread pools. Besides, exclusive thread
+ * pools are not affected by g_thread_pool_set_max_idle_time()
+ * since their threads are never considered idle and returned to the
+ * global pool.
  *
  * @error can be %NULL to ignore errors, or non-%NULL to report
  * errors. An error can only occur when @exclusive is set to %TRUE
  * and not all @max_threads threads could be created.
+ * See #GThreadError for possible errors that may occurr.
+ * Note, even in case of error a valid #GThreadPool is returned.
  *
  * Returns: the new #GThreadPool
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]