GNOME Bugzilla – Bug 625444
Don't use deprecated GDK drawing APIs
Last modified: 2014-02-28 14:53:42 UTC
A lot of the old drawing API is going away so it is time to port the games to using cairo instead. http://mail.gnome.org/archives/gtk-devel-list/2010-July/msg00036.html
Created attachment 166672 [details] [review] [glines] Port to cairo
For aisleriot, I want to preserve the old code, like this (board-noclutter.c): #ifdef CAIRO_RENDERING { new code } #else { old code } #endif, and define CAIRO_RENDERING on gtk 2.90 only for now.
Comment on attachment 166672 [details] [review] [glines] Port to cairo Committed with small changes suggested by Benjamin Otte.
Created attachment 167637 [details] [review] [gnotravex] Complete the port to cairo
BTW, I've ported aisleriot already (just not pushed to git yet, since it has a tiny glitch).
Aisleriot is done on master and 2-32 branch.
Just a quick status update on this: Working with gtk3: - aisleriot - glines (with http://git.gnome.org/browse/gnome-games/commit/?id=7e4a13a0e4d85983c999f9877a18fbfec206bebb) the rest is todo. I plan to look at gnotravex and gnomine next.
chpe has taken care of gnect. With todays commits the working list is up to: aisleriot, gnect, gnotski, glines, and gtali I talked to Tim and he said he would look at reviewing patches for lightsoff and swell-foop. And other work needed to get them working again. Jason is taking care of gnometris. Robert has begun the work on vala ports of chess and sudoku. Missing pieces are: gnibbles, gnobots, gnomine, gnotravex, iagno, and mahjongg
I've pushed fixes for gnobots2 and gnomine
Mahjongg now fixed, the remaining games are the Python games (Sudoku, Chess - these are planned to be ported to Vala) and the Seed games (Lightsoff and Swell Foop).
The seed games use clutter and i am pretty sure sudoku is using cairo for its drawing. Chess is moving to vala so I consider this bug closed.