[gobject-introspection/gnome-3-6] gimarshallingtests: Fix return data type
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/gnome-3-6] gimarshallingtests: Fix return data type
- Date: Fri, 9 Nov 2012 07:05:11 +0000 (UTC)
commit 75148f33bbff9eed6164c0c02c584916fd127396
Author: Martin Pitt <martinpitt gnome org>
Date: Fri Nov 9 08:03:21 2012 +0100
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().
tests/gimarshallingtests.c | 2 +-
tests/gimarshallingtests.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 3d6e345..fedcfb2 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 7768a88..35bd916 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_);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]