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:04:59 +0100
commit75148f33bbff9eed6164c0c02c584916fd127396 (patch)
treec7e928fd67c7a4f52b2f79b9b71b1374511eda11
parent794f76fd1b0cfa8dba1917ee97453592ce286f64 (diff)
downloadgobject-introspection-75148f33bbff9eed6164c0c02c584916fd127396.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 3d6e3453..fedcfb21 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -3309,7 +3309,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 7768a881..35bd9168 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 enum_);