[pygobject/invoke-rewrite] [gi] fix some function names



commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
Author: John (J5) Palmieri <johnp redhat com>
Date:   Sun Jan 9 18:05:31 2011 -0500

    [gi] fix some function names

 gi/pygi-cache.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gi/pygi-cache.c b/gi/pygi-cache.c
index fd4f049..8c52710 100644
--- a/gi/pygi-cache.c
+++ b/gi/pygi-cache.c
@@ -79,8 +79,7 @@ _pygi_function_cache_free (PyGIFunctionCache *cache)
     g_slist_free(cache->out_args);
     for (i = 0; i < cache->n_args; i++) {
         PyGIArgCache *tmp = cache->args_cache[i];
-        _pygi_arg_cache_clear(tmp);
-        g_slice_free(PyGIArgCache, tmp);
+        _pygi_arg_cache_free(tmp);
     }
 
     g_slice_free(PyGIFunctionCache, cache);
@@ -461,7 +460,7 @@ _args_cache_generate(GIFunctionInfo *function_info,
 
         direction = g_arg_info_get_direction(arg_info);
         transfer = g_arg_info_get_ownership_transfer(arg_info);
-        type_info = g_arg_info_get_type_info(arg_info);
+        type_info = g_arg_info_get_type(arg_info);
         type_tag = g_type_info_get_tag(type_info);
 
         switch(arg_cache->direction) {



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