seed r668 - in trunk: . libseed



Author: racarr
Date: Tue Jan  6 10:48:05 2009
New Revision: 668
URL: http://svn.gnome.org/viewvc/seed?rev=668&view=rev

Log:
Fix incorrect definition of an additional (protected nonetheless...)
constructor object in GType subclassing.

Modified:
   trunk/libseed/seed-gtype.c
   trunk/ltmain.sh

Modified: trunk/libseed/seed-gtype.c
==============================================================================
--- trunk/libseed/seed-gtype.c	(original)
+++ trunk/libseed/seed-gtype.c	Tue Jan  6 10:48:05 2009
@@ -638,9 +638,12 @@
 	new_type = g_type_register_static(parent_type, new_name, &type_info, 0);
 	seed_gobject_get_class_for_gtype(ctx, new_type);
 	JSObjectSetPrivate(constructor_ref, (gpointer) new_type);
+	
+	seed_object_set_property(ctx, constructor_ref, 
+							 "type", seed_value_from_int(ctx, new_type, exception));
 
 	g_free(new_name);
-	return JSObjectMake(ctx, gobject_constructor_class, (gpointer) new_type);
+	return constructor_ref;
 }
 
 static JSValueRef

Modified: trunk/ltmain.sh
==============================================================================
--- trunk/ltmain.sh	(original)
+++ trunk/ltmain.sh	Tue Jan  6 10:48:05 2009
@@ -65,7 +65,7 @@
 #       compiler:		$LTCC
 #       compiler flags:		$LTCFLAGS
 #       linker:		$LD (gnu? $with_gnu_ld)
-#       $progname:		(GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu4
+#       $progname:		(GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu5
 #       automake:		$automake_version
 #       autoconf:		$autoconf_version
 #
@@ -73,7 +73,7 @@
 
 PROGRAM=ltmain.sh
 PACKAGE=libtool
-VERSION="2.2.4 Debian-2.2.4-0ubuntu4"
+VERSION="2.2.4 Debian-2.2.4-0ubuntu5"
 TIMESTAMP=""
 package_revision=1.2976
 



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