seed r441 - trunk/libseed



Author: racarr
Date: Sun Dec 14 06:29:31 2008
New Revision: 441
URL: http://svn.gnome.org/viewvc/seed?rev=441&view=rev

Log:
Pass exception in to JSEvaluateScript for Seed.include.

Modified:
   trunk/libseed/seed-builtins.c

Modified: trunk/libseed/seed-builtins.c
==============================================================================
--- trunk/libseed/seed-builtins.c	(original)
+++ trunk/libseed/seed-builtins.c	Sun Dec 14 06:29:31 2008
@@ -70,7 +70,8 @@
 
 	file_contents = JSStringCreateWithUTF8CString(walk);
 	file_name = JSStringCreateWithUTF8CString(import_file);
-	JSEvaluateScript(ctx, file_contents, NULL, file_name, 0, NULL);
+	
+	JSEvaluateScript(ctx, file_contents, NULL, file_name, 0, exception);
 
 	JSStringRelease(file_contents);
 	JSStringRelease(file_name);



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