diff examples/calculator/main.c @ 130:3a4d6179e6a9

change mb_c_source.m4 and mb_c_header.m4 to specify parent for SVG object
author Thinker K.F. Li <thinker@branda.to>
date Tue, 16 Sep 2008 21:23:34 +0800
parents 17e97e92b76e
children 530bb7728546
line wrap: on
line diff
--- a/examples/calculator/main.c	Tue Sep 16 17:35:04 2008 +0800
+++ b/examples/calculator/main.c	Tue Sep 16 21:23:34 2008 +0800
@@ -179,7 +179,7 @@
     rt = X_MB_new(":0.0", 300, 400);
 
     rdman = X_MB_rdman(rt);
-    calculator_scr = calculator_scr_new(rdman);
+    calculator_scr = calculator_scr_new(rdman, rdman->root_coord);
 
     calc_data.rt = rt;
     calc_data.code = calculator_scr;