[libpeas] tests/libpeas: fix extension-seed build



commit 0c1f34b0945575b0533f9915d68ed782f2ce4338
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Thu Mar 31 02:44:40 2011 -0500

    tests/libpeas: fix extension-seed build
    
    Commit a655d0136520b156088327284c5a0377476008e7 in seed changed the
    seed_*_value API.
    
    Bug #646332

 tests/libpeas/extension-seed.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/tests/libpeas/extension-seed.c b/tests/libpeas/extension-seed.c
index 9df58dc..a10ac98 100644
--- a/tests/libpeas/extension-seed.c
+++ b/tests/libpeas/extension-seed.c
@@ -30,12 +30,6 @@
 #include "testing/testing-extension.h"
 #include "introspection/introspection-callable.h"
 
-gboolean seed_gvalue_from_seed_value (SeedContext    ctx,
-                                      SeedValue      val,
-                                      GType          type,
-                                      GValue        *gval,
-                                      SeedException *exception);
-
 static void
 test_extension_seed_plugin_info (PeasEngine *engine)
 {
@@ -59,9 +53,9 @@ test_extension_seed_plugin_info (PeasEngine *engine)
   seed_value = seed_object_get_property (sexten->js_context, sexten->js_object,
                                          "plugin_info");
 
-  g_assert (seed_gvalue_from_seed_value (sexten->js_context, seed_value,
-                                         PEAS_TYPE_PLUGIN_INFO, &gvalue,
-                                         NULL));
+  g_assert (seed_value_to_gvalue (sexten->js_context, seed_value,
+                                  PEAS_TYPE_PLUGIN_INFO, &gvalue,
+                                  NULL));
 
   g_assert (g_value_get_boxed (&gvalue) == info);
 



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