[gobject-introspection] gir: Update annotations from glib 2.68.0



commit 355cd8ac36dcc948730e5291036b4bcd2568818c
Author: Sebastian Dröge <sebastian centricular com>
Date:   Thu Mar 18 16:58:27 2021 +0200

    gir: Update annotations from glib 2.68.0

 gir/gio-2.0.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 6ddbaed7..c1ffdd09 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -13475,8 +13475,11 @@
  *
  * Creates a new icon for a bytes.
  *
+ * This cannot fail, but loading and interpreting the bytes may fail later on
+ * (for example, if g_loadable_icon_load() is called) if the image is invalid.
+ *
  * Returns: (transfer full) (type GBytesIcon): a #GIcon for the given
- *   @bytes, or %NULL on error.
+ *   @bytes.
  * Since: 2.38
  */
 


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