[gobject-introspection] Fix compilation warning in ginvoke.c



commit dc93d485fab8965dd65fed00a968c41bf17262cb
Author: Colin Walters <walters verbum org>
Date:   Wed Dec 16 18:16:31 2009 -0500

    Fix compilation warning in ginvoke.c

 girepository/ginvoke.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c
index 136860c..bf89d6c 100644
--- a/girepository/ginvoke.c
+++ b/girepository/ginvoke.c
@@ -436,7 +436,7 @@ gi_cclosure_marshal_generic (GClosure *closure,
   if (ffi_prep_cif (&cif, FFI_DEFAULT_ABI, n_args, rtype, atypes) != FFI_OK)
     return;
 
-  g_return_val_if_fail (rvalue, FALSE);
+  g_return_if_fail (rvalue != NULL);
   ffi_call (&cif, marshal_data ? marshal_data : cc->callback, rvalue, args);
 
   if (return_gvalue && G_VALUE_TYPE (return_gvalue))



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