summaryrefslogtreecommitdiff
path: root/src/caja-spatial-window.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-17 12:17:42 +0200
committerJasmine Hassan <[email protected]>2012-11-19 07:43:02 +0200
commitb5f9a6c811da63f5c4aca18f05cb207783a7beea (patch)
tree9cd226ef020732e562a1221845b4a7ad0cf1cd75 /src/caja-spatial-window.c
parentdc66bc40724191f0068869773576dc4edf042c6f (diff)
downloadcaja-b5f9a6c811da63f5c4aca18f05cb207783a7beea.tar.bz2
caja-b5f9a6c811da63f5c4aca18f05cb207783a7beea.tar.xz
[eel-background] drawable deprecations (GTK2), rendering-cleanup (GTK3)
1. Don't use gdk_drawable_get_display (deprecated in 2.24) 2. Use GDK_PIXMAP_XDISPLAY(pixmap) directly instead of GDK_DISPLAY_XDISPLAY(gdk_drawable_get_display(GDK_DRAWABLE (pixmap))) 3. Don't require GTK3 for stuff in GTK2.24, which we now require, and don't use gdk_drawable_get_size at all. So, use (i/o = instead of): gdk_window_get_width|height i/o gdk_drawable_get_size gdk_window_get_screen i/o gdk_drawable_get_screen gdk_window_get_visual i/o of gdk_drawable_get_visual 4. add eel_background_draw for GTK3, eel_background_expose for GTK2 This was removed in nautilus (after eel-background-box was removed): http://git.gnome.org/browse/nautilus/commit/?id=87eb53a0701252607b494f34c677b6506f82278c 5. background: port to rendering-cleanup & cope with renamings of gnome-bg APIs http://git.gnome.org/browse/nautilus/commit/?id=0b664aae4090704fa2e44d42f213da2cea8bd828 http://git.gnome.org/browse/nautilus/commit/?id=426079ef07d5f902911f30b0a9d7de95f3020374 6. Fix remaining issue #41: crashes w/ gdk_x_error BadPixmap when changing screen resolution Remove eel_background_get_pixmap_and_color(), and use the pixmap/surface & color properties in background->details directly, when needed. i.e. No more g_object/surface referencing. And call eel_background_ensure_realized() and make_color_inactive() where appropriate.
Diffstat (limited to 'src/caja-spatial-window.c')
0 files changed, 0 insertions, 0 deletions