From: Martin Pitt Date: Fri, 9 Nov 2012 07:03:21 +0000 (+0100) Subject: gimarshallingtests: Fix return data type X-Git-Tag: GOBJECT_INTROSPECTION_1_35_2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dad7875eaa83957affa5abe3db5ad2fbdb1a4d72;p=platform%2Fupstream%2Fgobject-introspection.git 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(). --- diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 5ce800d..0426132 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 1b5d7ce..6cbefb0 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);