[gobject-introspection] Fix GI_MARSHALLING_TESTS_INTERFACE2_GET_IFACE() definition



commit 2554bf149415820bec2d36d3906fdd4f7b66a07c
Author: Martin Pitt <martinpitt gnome org>
Date:   Thu Jul 12 08:32:56 2012 +0200

    Fix GI_MARSHALLING_TESTS_INTERFACE2_GET_IFACE() definition
    
    This used the non-existing G_TYPE_INSTANCE_GET_INTERFACE2 macro, likely a
    copy&paste error.

 tests/gimarshallingtests.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index b687943..eea9bb6 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -891,7 +891,7 @@ void gi_marshalling_tests_test_interface_test_int8_in (GIMarshallingTestsInterfa
 #define GI_MARSHALLING_TESTS_TYPE_INTERFACE2              (gi_marshalling_tests_interface2_get_type ())
 #define GI_MARSHALLING_TESTS_INTERFACE2(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), GI_MARSHALLING_TESTS_TYPE_INTERFACE2, GIMarshallingTestsInterface2))
 #define GI_MARSHALLING_TESTS_IS_INTERFACE2(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), GI_MARSHALLING_TESTS_TYPE_INTERFACE2))
-#define GI_MARSHALLING_TESTS_INTERFACE2_GET_IFACE(obj)    (G_TYPE_INSTANCE_GET_INTERFACE2 ((obj), GI_MARSHALLING_TESTS_TYPE_INTERFACE2, GIMarshallingTestsInterface2Iface))
+#define GI_MARSHALLING_TESTS_INTERFACE2_GET_IFACE(obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GI_MARSHALLING_TESTS_TYPE_INTERFACE2, GIMarshallingTestsInterface2Iface))
 
 typedef struct _GIMarshallingTestsInterface2 GIMarshallingTestsInterface2;
 typedef struct _GIMarshallingTestsInterface2Iface GIMarshallingTestsInterface2Iface;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]