Permalink
Browse files

Replace deprecated gtk2hs functions

  • Loading branch information...
1 parent a7f07fd commit bf20c6eca85dc4f9f4ca865df7d0ae65c6c29b78 @kfish committed Nov 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cairo-appbase.hs
@@ -123,8 +123,8 @@ myDelete = putStrLn "Delete"
updateCanvas :: G.DrawingArea -> IO Bool
updateCanvas canvas = do
- win <- G.drawingAreaGetDrawWindow canvas
- (width, height) <- G.drawingAreaGetSize canvas
+ win <- G.widgetGetDrawWindow canvas
+ (width, height) <- G.widgetGetSize canvas
G.renderWithDrawable win $
example width height
return True

0 comments on commit bf20c6e

Please sign in to comment.