diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-10-19 23:15:44 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2009-10-19 23:15:44 +0200 |
commit | d51bd890cb5c2171d3d0a48da4e763b545ea5ffb (patch) | |
tree | 93b0bb2c1887737b050d0100eb8b0ba3b39985cd /tests/properties.c | |
parent | ed442b707e57d71b9431cfca3208d691f04a887a (diff) | |
download | midori-d51bd890cb5c2171d3d0a48da4e763b545ea5ffb.tar.gz |
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.
Diffstat (limited to 'tests/properties.c')
-rw-r--r-- | tests/properties.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |