[cairo-commit] rcairo/packages/canvas/lib canvas.rb,1.1,1.2

Oeyvind Kolaas commit at pdx.freedesktop.org
Thu Nov 25 02:17:03 PST 2004


Committed by: pippin

Update of /cvs/cairo/rcairo/packages/canvas/lib
In directory gabe:/tmp/cvs-serv16461/packages/canvas/lib

Modified Files:
	canvas.rb 
Log Message:
sync up canvas with rcairo

Index: canvas.rb
===================================================================
RCS file: /cvs/cairo/rcairo/packages/canvas/lib/canvas.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- canvas.rb	1 Sep 2004 15:32:36 -0000	1.1
+++ canvas.rb	25 Nov 2004 10:17:01 -0000	1.2
@@ -592,7 +592,7 @@
     cr = cairo
     cr.save
     setup_font cr
-    ret = cr.text_extents(@label)["width"]
+    ret = cr.text_extents(@label)[:width]
     cr.restore
     @buf_width = ret
   end




More information about the cairo-commit mailing list