summaryrefslogtreecommitdiff
path: root/tests/bug775693.pixdata
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2018-12-12 18:22:30 -0600
committerFederico Mena Quintero <federico@gnome.org>2019-09-11 07:31:51 -0500
commit3c7740498fd31b6746dd7e04601886766a6644b7 (patch)
treeb7ef69e350b7c9308445cf6f1b42a86242da2656 /tests/bug775693.pixdata
parent3249c681fa5d38e4e9d409ed8012384b16231fd8 (diff)
downloadgdk-pixbuf-3c7740498fd31b6746dd7e04601886766a6644b7.tar.gz
(#91): Have a STORAGE_UNINITIALIZED for construction with all-default properties
If one does a plain GdkPixbuf *pixbuf = g_object_new (GDK_TYPE_PIXBUF, NULL); Then all the construct properties use their default values. This means that both "pixels" and "pixel-bytes" get passed as NULL to gdk_pixbuf_set_property(). Later, trying to get the property for "pixel-bytes" would assert, incorrectly, because it was trying to create a GBytes from a NULL pixels storage. This commit adds a test for that construction case, and tests for constructing with g_object_new() in general. Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/91
Diffstat (limited to 'tests/bug775693.pixdata')
0 files changed, 0 insertions, 0 deletions