summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2018-06-29 18:53:54 +0100
committerDaniel Boles <dboles.src@gmail.com>2018-06-29 18:57:43 +0100
commit908d4f1d1fe327697f2d9e81a175a3df0b77e6dc (patch)
treefb8c580b60484b597c9eaa563f3a2b90a85f7b73
parent62573f299c585b89ff4079758753a1458a623692 (diff)
downloadgtk+-908d4f1d1fe327697f2d9e81a175a3df0b77e6dc.tar.gz
defaultvalue: Ignore property to actually pass
GtkFontChooserWidget:tweak-action gets set in init(), so we have to skip testing that it is the default NULL for a GObject, or the test fails.
-rw-r--r--testsuite/gtk/defaultvalue.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 05f176f950..1f73fa5825 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -232,6 +232,15 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
strcmp (pspec->name, "cell-area-context") == 0))
continue;
+G_GNUC_END_IGNORE_DEPRECATIONS
+
+ /* This is set in init() */
+ if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER_WIDGET) &&
+ strcmp (pspec->name, "tweak-action") == 0)
+ continue;
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
if (g_type_is_a (type, GTK_TYPE_ICON_VIEW) &&
(strcmp (pspec->name, "cell-area") == 0 ||
strcmp (pspec->name, "cell-area-context") == 0))
@@ -380,6 +389,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if ((pspec->flags & G_PARAM_READABLE) == 0)
continue;
+ /* This is desktop-dependent */
if (g_type_is_a (type, GTK_TYPE_WINDOW) &&
strcmp (pspec->name, "decoration-button-layout") == 0)
continue;