vala-tests r49 - trunk/tests/examples



Author: juergbi
Date: Sat Oct 25 07:59:34 2008
New Revision: 49
URL: http://svn.gnome.org/viewvc/vala-tests?rev=49&view=rev

Log:
Fix syntax errors in pango-cairo example


Modified:
   trunk/tests/examples/pango-cairo.vala

Modified: trunk/tests/examples/pango-cairo.vala
==============================================================================
--- trunk/tests/examples/pango-cairo.vala	(original)
+++ trunk/tests/examples/pango-cairo.vala	Sat Oct 25 07:59:34 2008
@@ -18,10 +18,10 @@
                 bool do_rotate)
 {
     cr.identity_matrix();
-    cr.set_source_rgb (1., 1., 1.);
+    cr.set_source_rgb (1.0, 1.0, 1.0);
     cr.rectangle(0,0,width,height);
     cr.fill();
-    cr.set_source_rgb (0., 0., 0.);
+    cr.set_source_rgb (0.0, 0.0, 0.0);
     if (do_rotate) {
         cr.translate(width,0);
         cr.rotate(Math.PI/2);



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