[gtk/image-loading] !fixup tiff save can't fail
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/image-loading] !fixup tiff save can't fail
- Date: Tue, 14 Sep 2021 00:46:51 +0000 (UTC)
commit 31fc5a5a54ea84afa0f586ab4bc242709571abd8
Author: Benjamin Otte <otte redhat com>
Date: Tue Sep 14 02:30:39 2021 +0200
!fixup tiff save can't fail
gdk/gdktexture.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c
index 0e3943100e..8bed6428b4 100644
--- a/gdk/gdktexture.c
+++ b/gdk/gdktexture.c
@@ -739,10 +739,6 @@ gdk_texture_save_to_tiff (GdkTexture *texture,
g_return_val_if_fail (filename != NULL, FALSE);
bytes = gdk_save_tiff (texture);
-
- if (!bytes)
- return FALSE;
-
result = g_file_set_contents (filename,
g_bytes_get_data (bytes, NULL),
g_bytes_get_size (bytes),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]