summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory-background.c
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-03-12 15:07:16 +0300
committerraveit65 <[email protected]>2017-03-13 10:28:08 +0100
commit4c10ec0fdac58498c8c9616b940ff78990c86c90 (patch)
tree7cd24f21ef9f150fd7a565e255e3ea2e7dafb8c8 /libcaja-private/caja-directory-background.c
parent438682bef1a8fea49b4c6972350bede1bfad69d0 (diff)
downloadcaja-4c10ec0fdac58498c8c9616b940ff78990c86c90.tar.bz2
caja-4c10ec0fdac58498c8c9616b940ff78990c86c90.tar.xz
eel: Avoid deprecated gdk_window_set_background functions
Fixes partially #506, fixes compiz-reloaded/compiz#40.
Diffstat (limited to 'libcaja-private/caja-directory-background.c')
-rw-r--r--libcaja-private/caja-directory-background.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-directory-background.c b/libcaja-private/caja-directory-background.c
index 4ad9be0e..000012fb 100644
--- a/libcaja-private/caja-directory-background.c
+++ b/libcaja-private/caja-directory-background.c
@@ -382,8 +382,7 @@ caja_connect_desktop_background_to_settings (CajaIconContainer *icon_container)
background = eel_get_widget_background (GTK_WIDGET (icon_container));
- eel_background_set_desktop (background,
- GTK_WIDGET (icon_container), TRUE);
+ eel_background_set_desktop (background, TRUE);
g_signal_connect_object (background, "settings_changed",
G_CALLBACK (desktop_background_changed_cb), NULL, 0);