[libpeas] Revert "Fix iteration of GCallable arguments"



commit 5ecd4fb7d109fe0f49e162d16bddd7cf3059e214
Author: Dan Williams <dcbw redhat com>
Date:   Mon Nov 1 23:50:39 2010 -0500

    Revert "Fix iteration of GCallable arguments"
    
    This reverts commit bb0cc262430d3ba9de06e86b76bf2c9520ddb335.
    
    More work is needed here; there are a number of locations that
    treat the return value of g_callable_info_get_n_args() as unsigned
    that need to be fixed...

 libpeas/peas-introspection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-introspection.c b/libpeas/peas-introspection.c
index 2ddf8b0..e93ec51 100644
--- a/libpeas/peas-introspection.c
+++ b/libpeas/peas-introspection.c
@@ -31,7 +31,7 @@ peas_gi_valist_to_arguments (GICallableInfo *callable_info,
                              GIArgument     *arguments,
                              gpointer       *return_value)
 {
-  gint i, n_args;
+  guint i, n_args;
   GIArgInfo *arg_info;
   GITypeInfo *arg_type_info;
   GITypeInfo *retval_info;



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