GNOME Bugzilla – Bug 626870
Updates for Gtk3
Last modified: 2010-08-21 02:08:19 UTC
The following two patches fix gnome-control-center to work with recent Gtk3, taking care of the Cairo conversion and changes to GtkLabel layout code. They should also work fine with Gtk2.
Created attachment 167830 [details] [review] Replace Gdk drawing with Cairo
Created attachment 167831 [details] [review] typing-break: use gtk API to determine label layout location The previous code tried to imitate GtkLabel, but failed to account for changes to its API. The new code uses gtk_label_get_layout_offsets() which is exactly doing the same thing, but compatibly.
Created attachment 168152 [details] [review] removes dependency on gdk get background (not available anymore) With current gdk it fails to build otherwise.
The background code should look something like this: http://git.gnome.org/browse/mutter/tree/src/ui/frames.c?id=0839c100c08932fdedacb7ceb43783431d5d3b6c#n2046
Created attachment 168443 [details] [review] display: Copy background setter code from mutter This code uses the new GDK API to set the window background.
Committed the 3 patches after review with Thomas.