gimarshallingtests: Fix return data type
authorMartin Pitt <martinpitt@gnome.org>
Fri, 9 Nov 2012 07:03:21 +0000 (08:03 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 9 Nov 2012 07:03:21 +0000 (08:03 +0100)
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().

tests/gimarshallingtests.c
tests/gimarshallingtests.h

index 5ce800d..0426132 100644 (file)
@@ -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;
index 1b5d7ce..6cbefb0 100644 (file)
@@ -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);