diff options
author | Colin Walters <walters@verbum.org> | 2012-08-09 17:17:15 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-08-13 13:32:13 -0400 |
commit | 0e13b86146eaa2fd58fc5165b11eb4f8396108fa (patch) | |
tree | e6ed53809466af07a32239c5158d65754af5a799 /tests/scanner/regress.c | |
parent | ecef2be0f1b42a2850df35c711a338f15c4d7e4f (diff) | |
download | gobject-introspection-0e13b86146eaa2fd58fc5165b11eb4f8396108fa.tar.gz |
Revert "Implement "rename to" annotation for records"
This reverts commit 764366f7e4ef5a765a24ffac8c60b811f38b9ad9.
It can't work right now because to really use the structures, you need
to register them as a boxed, and that means we also need to rename the
boxed type.
A future version of this patch will need to handle both the structure
name and the GType name.
https://bugzilla.gnome.org/show_bug.cgi?id=675985
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r-- | tests/scanner/regress.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index e6fa25fb..910f01a5 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -3813,20 +3813,3 @@ void regress_test_versioning (void) { } - -/** - * regress_rename_to_struct_new: - * - * Returns: (transfer full): - */ -RegressRenameToStruct * -regress_rename_to_struct_new (void) -{ - return g_new0 (RegressRenameToStruct, 1); -} - -void -regress_rename_to_struct_set_data (RegressRenameToStruct *self, gpointer data) -{ - self->data = data; -} |