texture: Update docs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jan 2023 03:48:31 +0000 (22:48 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jan 2023 03:48:57 +0000 (22:48 -0500)
Document that we support TIFF as well.

gdk/gdktexture.c

index 3c4bf10634ace03f65c5ff8ae2a8f335243ee0ac..bac18dc9fe557189824516b3834dc2671c609b5a 100644 (file)
@@ -463,7 +463,7 @@ gdk_texture_new_from_resource (const char *resource_path)
  * Creates a new texture by loading an image from a file.
  *
  * The file format is detected automatically. The supported formats
- * are PNG and JPEG, though more formats might be available.
+ * are PNG, JPEG and TIFF, though more formats might be available.
  *
  * If %NULL is returned, then @error will be set.
  *
@@ -556,7 +556,7 @@ gdk_texture_new_from_bytes_pixbuf (GBytes  *bytes,
  * Creates a new texture by loading an image from memory,
  *
  * The file format is detected automatically. The supported formats
- * are PNG and JPEG, though more formats might be available.
+ * are PNG, JPEG and TIFF, though more formats might be available.
  *
  * If %NULL is returned, then @error will be set.
  *
@@ -602,7 +602,7 @@ gdk_texture_new_from_bytes (GBytes  *bytes,
  * Creates a new texture by loading an image from a file.
  *
  * The file format is detected automatically. The supported formats
- * are PNG and JPEG, though more formats might be available.
+ * are PNG, JPEG and TIFF, though more formats might be available.
  *
  * If %NULL is returned, then @error will be set.
  *