[seed] Properly set Namespace.Object.prototype in the new importer
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Properly set Namespace.Object.prototype in the new importer
- Date: Sun, 12 Apr 2009 09:46:55 -0400 (EDT)
commit c51b2abe85707deb650d56b5617fdde3499ab0ed
Author: Robert Carr <racarr mireia (none)>
Date: Sun Apr 12 09:46:37 2009 -0400
Properly set Namespace.Object.prototype in the new importer
---
libseed/seed-importer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libseed/seed-importer.c b/libseed/seed-importer.c
index 584446d..94f09b8 100644
--- a/libseed/seed-importer.c
+++ b/libseed/seed-importer.c
@@ -135,7 +135,7 @@ seed_gi_importer_handle_object (JSContextRef ctx,
seed_object_set_property (ctx, namespace_ref,
g_base_info_get_name ((GIBaseInfo *) info),
constructor_ref);
- seed_object_set_property (ctx, namespace_ref,
+ seed_object_set_property (ctx, constructor_ref,
"prototype",
seed_gobject_get_prototype_for_gtype (type));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]