Changes

80 bytes removed ,  09:18, 14 November 2011
Line 181: Line 181:  
# Create a Cairo context from the window.
 
# Create a Cairo context from the window.
 
cairo_context = self.canvas.get_window().cairo_create()
 
cairo_context = self.canvas.get_window().cairo_create()
  −
# Create a Cairo surface from the context
  −
surface = cairo_context.get_target()
      
# Create an XLib surface to be used for drawing
 
# Create an XLib surface to be used for drawing