!fixup can't fail

This commit is contained in:
Benjamin Otte
2021-09-14 02:30:17 +02:00
parent 4fad97d8ab
commit 40d81f5959

View File

@@ -684,9 +684,6 @@ gdk_texture_save_to_png (GdkTexture *texture,
g_return_val_if_fail (filename != NULL, FALSE);
bytes = gdk_save_png (texture);
if (!bytes)
return FALSE;
result = g_file_set_contents (filename,
g_bytes_get_data (bytes, NULL),
g_bytes_get_size (bytes),