[gobject-introspection] gimarshallingtests: Fix return data type
- From: Martin Pitt <martinpitt src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gobject-introspection] gimarshallingtests: Fix return data type
 
- Date: Fri,  9 Nov 2012 07:04:20 +0000 (UTC)
 
commit dad7875eaa83957affa5abe3db5ad2fbdb1a4d72
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 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);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]