GNOME Goal: Use cairo instead deprecated GDK api
Introduction
In GTK+ 3, the GDK drawing API (which closely mimics the X drawing API, which is itself modeled after PostScript) has been removed. All drawing in GTK+ 3 is done via cairo.
The GdkGC and GdkImage objects, as well as all the functions using them are gone. This includes the gdk_draw_ family of functions like gdk_draw_rectangle() and gdk_draw_drawable(). As GdkGC is roughly equivalent to cairo_t and GdkImage was used for drawing images to GdkDrawables, which cairo supports automatically, a transition is usually straightforward.
Guidelines
Follow the tips of the GTK+ documentation
Comments before approval
Add your comments to this goal proposal here |
Status of this goal
Note: Updated automatical stats can be found at: |
Tip: If you choose to work on a module, create the bug report on the GNOME bugzilla for the relevant module, and make it block bug 626688. This way people will know someone already works on it, and won't duplicate the work you're doing. |
State |
Markup |
todo |
<: #ff8080> todo |
patch |
<: #ffcc50> [[GnomeBug:xxxxx|patch]] |
done |
<: #80ff80> [[GnomeBug:xxxxx|done]] |
not needed |
<: #80ff80> not needed |
Above are the states and corresponding markup to update the modules state table below.
Tarball |
Status |
|
Desktop |
||
gtk_draw |
||
GdkGC gtk_draw |
||
GdkGC gtk_draw |
||
done gtk_draw |
||
not needed |
||
GdkGC gtk_draw |
||
fixed in master |
||
gnome-control-center |
||
gnome-desktop |
||
gnome-mag |
GdkImage GdkGC gtk_draw |
|
gnome-power-manager |
GdkGC gtk_draw |
|
gnome-settings-daemon |
fixed in master |
|
gnome-system-monitor |
||
GdkGC gtk_draw |
||
gtk-engines |
||
gtkhtml |
||
libgnomekbd |
||
librsvg |
||
libwnck |
GdkGC gtk_draw |
|
metacity |
||
mousetweaks |
GdkGC gtk_draw |
|
mutter |
||
vinagre |
GdkGC gtk_draw |
|
Development Tools |
||
anjuta |
GdkGC gtk_draw |
|
gdl |
||
glade3 |
||
gnome-devel-docs |
GdkGC gtk_draw |
|
External Dependencies |
||
gtk-vnc |
||
libgda |
GdkGC gtk_draw |
|
poppler |
GdkGC gtk_draw |
only test programs, work around with --disable-gtk-test |
webkit |
fixed in 1.3.4 |
|
Other |
||
GParted |
not needed |
|
to do |
||