[gobject-introspection] gimarshallingtests: Remove incorrect cast



commit 0d969f448e71beab3c67975bc40822654eb1b90a
Author: Colin Walters <walters verbum org>
Date:   Mon Apr 18 12:54:38 2011 -0400

    gimarshallingtests: Remove incorrect cast

 tests/gimarshallingtests.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 3c7311c..77b6b74 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -2441,7 +2441,7 @@ _marshal_INT__VOID (GClosure *closure,
 GClosure *
 gi_marshalling_tests_gclosure_return (void)
 {
-    GClosure *closure = g_cclosure_new ((GCallback *)_closure_return_42, 
+    GClosure *closure = g_cclosure_new ((GCallback)_closure_return_42,
                                         NULL, NULL);
     g_closure_set_marshal (closure, _marshal_INT__VOID);
 



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