From d51bd890cb5c2171d3d0a48da4e763b545ea5ffb Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 19 Oct 2009 23:15:44 +0200 Subject: Refactor MidoriPreferences into KatzePreferences base class The goal is to get rid of detailed table setups in favour of automatic alignment with few hints as well as abstracting away the exact layout to allow reimplementing it in a different form. --- tests/properties.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/properties.c') diff --git a/tests/properties.c b/tests/properties.c index 6d9ecffb..239717ca 100644 --- a/tests/properties.c +++ b/tests/properties.c @@ -78,6 +78,9 @@ properties_object_get_set (GObject* object) g_param_spec_get_name (pspec), g_param_spec_get_name (pspecs[j])); + if (!(pspec->flags & G_PARAM_READABLE)) + continue; + g_object_get (object, property, &value, NULL); if (type == G_TYPE_PARAM_BOOLEAN) { -- cgit v1.2.1