From 3698f664b233ce9f007f2ed54dc7f08c13708f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 30 Nov 2016 17:38:09 +0100 Subject: testsuite: Stop testing style properties --- testsuite/gtk/defaultvalue.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'testsuite') diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 8af8f4f0d2..23b7b596c4 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -343,41 +343,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS } g_free (pspecs); - if (g_type_is_a (type, GTK_TYPE_WIDGET)) - { - g_object_set (gtk_settings_get_default (), "gtk-theme-name", "Raleigh", NULL); - pspecs = gtk_widget_class_list_style_properties (GTK_WIDGET_CLASS (klass), &n_pspecs); - - for (i = 0; i < n_pspecs; ++i) - { - GParamSpec *pspec = pspecs[i]; - GValue value = G_VALUE_INIT; - - if (pspec->owner_type != type) - continue; - - if ((pspec->flags & G_PARAM_READABLE) == 0) - continue; - - if (g_type_is_a (type, GTK_TYPE_BUTTON) && - strcmp (pspec->name, "default-border") == 0) - continue; - - if (g_type_is_a (type, GTK_TYPE_WINDOW) && - (strcmp (pspec->name, "resize-grip-width") == 0 || - strcmp (pspec->name, "resize-grip-height") == 0 || - strcmp (pspec->name, "decoration-button-layout") == 0)) - continue; - - g_value_init (&value, G_PARAM_SPEC_VALUE_TYPE (pspec)); - gtk_widget_style_get_property (GTK_WIDGET (instance), pspec->name, &value); - check_property ("Style property", pspec, &value); - g_value_unset (&value); - } - - g_free (pspecs); - } - if (g_type_is_a (type, GDK_TYPE_WINDOW)) gdk_window_destroy (GDK_WINDOW (instance)); else -- cgit v1.2.1