summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2012-11-09 08:03:21 +0100
committerMartin Pitt <martinpitt@gnome.org>2012-11-09 08:03:21 +0100
commitdad7875eaa83957affa5abe3db5ad2fbdb1a4d72 (patch)
tree1682326422703a3c60a417876c0fa36c15584dea
parentaf24c2bf8d07393904c537c0da6eb4481feb84bd (diff)
downloadgobject-introspection-dad7875eaa83957affa5abe3db5ad2fbdb1a4d72.tar.gz
gimarshallingtests: Fix return data type
gi_marshalling_tests_genum_returnv() should (and does) return a GIMarshallingTestsGEnum, not a GIMarshallingTestsEnum. The latter is already covered by gi_marshalling_tests_enum_returnv().
-rw-r--r--tests/gimarshallingtests.c2
-rw-r--r--tests/gimarshallingtests.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 5ce800d2..04261324 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -3339,7 +3339,7 @@ gi_marshalling_tests_genum_get_type (void)
return type;
}
-GIMarshallingTestsEnum
+GIMarshallingTestsGEnum
gi_marshalling_tests_genum_returnv (void)
{
return GI_MARSHALLING_TESTS_GENUM_VALUE3;
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index 1b5d7ce2..6cbefb08 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -303,7 +303,7 @@ typedef enum
GType gi_marshalling_tests_genum_get_type (void) G_GNUC_CONST;
#define GI_MARSHALLING_TESTS_TYPE_GENUM (gi_marshalling_tests_genum_get_type ())
-GIMarshallingTestsEnum gi_marshalling_tests_genum_returnv (void);
+GIMarshallingTestsGEnum gi_marshalling_tests_genum_returnv (void);
void gi_marshalling_tests_genum_in (GIMarshallingTestsGEnum v);