seed r311 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r311 - trunk/libseed
- Date: Sun, 23 Nov 2008 04:23:22 +0000 (UTC)
Author: racarr
Date: Sun Nov 23 04:23:22 2008
New Revision: 311
URL: http://svn.gnome.org/viewvc/seed?rev=311&view=rev
Log:
add G_TYPE_PARAM conversion to seed_value_from_gvalue. Makes signals that take a GParam work.
Modified:
trunk/libseed/seed-structs.c
trunk/libseed/seed-types.c
Modified: trunk/libseed/seed-structs.c
==============================================================================
--- trunk/libseed/seed-structs.c (original)
+++ trunk/libseed/seed-structs.c Sun Nov 23 04:23:22 2008
@@ -225,7 +225,7 @@
}
g_free(cproperty_name);
- return JSValueMakeNull(eng->context);
+ return JSValueMakeNull(context);
}
ret = seed_gi_argument_make_js(&field_value, field_type, exception);
Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c (original)
+++ trunk/libseed/seed-types.c Sun Nov 23 04:23:22 2008
@@ -560,6 +560,9 @@
g_value_get_string(gval), exception);
case G_TYPE_POINTER:
return seed_make_pointer(g_value_get_pointer(gval));
+ case G_TYPE_PARAM:
+ // Might need to dup and make a boxed.
+ return seed_make_pointer(g_value_get_param(gval));
}
if (g_type_is_a(G_VALUE_TYPE(gval), G_TYPE_ENUM) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]