[gtk/gtk-3-24] Skip GdkPixbuf in default-value tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Skip GdkPixbuf in default-value tests
- Date: Wed, 12 Dec 2018 18:45:42 +0000 (UTC)
commit 38edc38f21951b33daf5cd593f74ffc30ade5d5b
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 12 13:34:32 2018 -0500
Skip GdkPixbuf in default-value tests
testsuite/gtk/defaultvalue.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index d3afbb391a..0cb3073ce7 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -94,6 +94,10 @@ test_type (gconstpointer data)
if (g_type_is_a (type, GTK_TYPE_APP_CHOOSER_DIALOG))
return;
+ /* pixbufs without pixel data are just pointless */
+ if (g_type_is_a (type, GDK_TYPE_PIXBUF))
+ return;
+
/* These leak their GDBusConnections */
if (g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_BUTTON) ||
g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_DIALOG) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]