summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-05-02 12:40:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-05-02 12:42:13 -0400
commitef7ccab188ea27de30390d674c0690f90d0b21f5 (patch)
tree7a585cdc58c3ab3c09750caa5ead92f8d252672b /testsuite
parent8dd8c4a9dedc92c93b512543f44942cf849c840e (diff)
downloadgtk+-ef7ccab188ea27de30390d674c0690f90d0b21f5.tar.gz
defaultvalue test: Skip GdkMonitor::geometry
We never return NULL for ::geometry and ::workarea. Just skip these properties.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gtk/defaultvalue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 257d772e6a..dba458519f 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -151,6 +151,11 @@ test_type (gconstpointer data)
(strcmp (pspec->name, "default-display") == 0))
continue;
+ if (g_type_is_a (type, GDK_TYPE_MONITOR) &&
+ (strcmp (pspec->name, "geometry") == 0 ||
+ strcmp (pspec->name, "workarea") == 0))
+ continue;
+
if (g_type_is_a (type, GTK_TYPE_ABOUT_DIALOG) &&
(strcmp (pspec->name, "program-name") == 0))
continue;