[libpeas] Fix seed extensions



commit ba92170be7bbcc8c2e709806d3c2d4be4989874f
Author: Garrett Regier <alias301 gmail com>
Date:   Sat Jan 1 12:58:02 2011 -0800

    Fix seed extensions

 loaders/seed/peas-extension-seed.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/loaders/seed/peas-extension-seed.c b/loaders/seed/peas-extension-seed.c
index 870f3db..16c58f4 100644
--- a/loaders/seed/peas-extension-seed.c
+++ b/loaders/seed/peas-extension-seed.c
@@ -299,7 +299,7 @@ peas_extension_seed_call (PeasExtension *exten,
       GITypeInfo *arg_type_info;
 
       g_callable_info_load_arg (func_info, i, &arg_info);
-      arg_type_info = g_arg_info_load_type (&arg_info, &arg_type_info);
+      arg_type_info = g_arg_info_get_type (&arg_info);
 
       switch (g_arg_info_get_direction (&arg_info))
         {
@@ -324,7 +324,6 @@ peas_extension_seed_call (PeasExtension *exten,
         }
 
       g_base_info_unref ((GIBaseInfo *) arg_type_info);
-      g_base_info_unref ((GIBaseInfo *) arg_info);
     }
   if (exc != NULL)
     goto cleanup;



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