diff options
author | lukefromdc <[email protected]> | 2016-08-08 02:57:55 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-08-08 10:17:18 +0200 |
commit | 8c926115c99100a581abfd20dced5dfbe4922792 (patch) | |
tree | 20743e3f2cdc456c6f602e7474a64b562c39f80c /src/file-manager/fm-desktop-icon-view.c | |
parent | 3eb928b92af5be2fb19e6c975d124a289c5c2787 (diff) | |
download | caja-8c926115c99100a581abfd20dced5dfbe4922792.tar.bz2 caja-8c926115c99100a581abfd20dced5dfbe4922792.tar.xz |
Fix background rendering in noncomposited case
Apply Alberts Muktupāvels' https://bugzilla.gnome.org/attachment.cgi?id=332444&action=diff to Caja, it just plain works.
Remove previous fallback background code.
Add GTK 3.21 selectors missed in caja_desktop_window_class_init, clean up a couple tabs
Diffstat (limited to 'src/file-manager/fm-desktop-icon-view.c')
-rw-r--r-- | src/file-manager/fm-desktop-icon-view.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c index 7214926d..1637532c 100644 --- a/src/file-manager/fm-desktop-icon-view.c +++ b/src/file-manager/fm-desktop-icon-view.c @@ -476,16 +476,6 @@ realized_callback (GtkWidget *widget, FMDesktopIconView *desktop_icon_view) desktop_icon_view_property_filter, desktop_icon_view); - /*Set up a fallback background style class for the noncompositing case */ -#if GTK_CHECK_VERSION(3, 21, 0) - gboolean - composited = gtk_widget_is_composited (GTK_WIDGET(desktop_icon_view)); - if (!composited){ - GtkStyleContext *context; - context = gtk_widget_get_style_context (GTK_WIDGET(desktop_icon_view)); - gtk_style_context_add_class(context,"caja-fallback-desktop-background"); - } -#endif } static CajaZoomLevel |