[gdk-pixbuf] tests: Additional test for bug 775693
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] tests: Additional test for bug 775693
- Date: Fri, 16 Dec 2016 15:38:24 +0000 (UTC)
commit daaae1b9b8c47be4789191af10dda0004bd4da90
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 16 12:27:20 2016 +0100
tests: Additional test for bug 775693
https://bugzilla.gnome.org/show_bug.cgi?id=775693
tests/pixbuf-pixdata.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/pixbuf-pixdata.c b/tests/pixbuf-pixdata.c
index 0493fc5..a81e41c 100644
--- a/tests/pixbuf-pixdata.c
+++ b/tests/pixbuf-pixdata.c
@@ -47,6 +47,10 @@ test_pixdata_deserialize (gconstpointer data)
g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
g_clear_error (&error);
+ pixbuf = gdk_pixbuf_from_pixdata (&pixdata, FALSE, &error);
+ g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
+ g_clear_error (&error);
+
g_clear_object (&pixbuf);
}
G_GNUC_END_IGNORE_DEPRECATIONS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]