diff options
Diffstat (limited to 'gobject/tests/gproperty-example-base.c')
-rw-r--r-- | gobject/tests/gproperty-example-base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gobject/tests/gproperty-example-base.c b/gobject/tests/gproperty-example-base.c index d8b67f60b..3cb9d4b23 100644 --- a/gobject/tests/gproperty-example-base.c +++ b/gobject/tests/gproperty-example-base.c @@ -90,7 +90,8 @@ test_file_class_init (TestFileClass *klass) g_type_class_add_private (klass, sizeof (TestFilePrivate)); test_file_properties[PROP_PATH] = - g_string_property_new ("path", G_PROPERTY_READWRITE, + g_string_property_new ("path", + G_PROPERTY_READWRITE | G_PROPERTY_COPY_SET, G_STRUCT_OFFSET (TestFilePrivate, path), (GPropertyStringSet) test_file_set_path, NULL); |