summaryrefslogtreecommitdiff
path: root/gobject/testgobject.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-10-02 05:24:21 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-10-02 05:24:21 +0000
commit1083b5a43d832df21f0f409c5bd081e01cab1620 (patch)
tree0afa20e53f55451f644d6882b7af0ac33f804a25 /gobject/testgobject.c
parent27d3ebfde35d52fa4414fe7680188fd0014e25d5 (diff)
Add g_type_add/remove_interface_check(), which allows inserting a
Thu Oct 2 01:16:50 2003 Owen Taylor <otaylor@redhat.com> * gtype.[ch]: Add g_type_add/remove_interface_check(), which allows inserting a post-interface-initialization check. * testgobject.c: Fix a deprecated usage.
Diffstat (limited to 'gobject/testgobject.c')
-rw-r--r--gobject/testgobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/testgobject.c b/gobject/testgobject.c
index 6f7832a40..16c4cc15a 100644
--- a/gobject/testgobject.c
+++ b/gobject/testgobject.c
@@ -242,7 +242,7 @@ test_signal_accumulator (GSignalInvocationHint *ihint,
else
result_string = NULL;
- g_value_set_string_take_ownership (return_accu, result_string);
+ g_value_take_string (return_accu, result_string);
return TRUE;
}