summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-31 08:58:28 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:52 +0200
commiteb4866501e0ab9114c3ea459d3d4aa437194d961 (patch)
tree99ee9d116017530c30e24ba53b85189687349642 /src
parent48d2f19ea2b821d1f3b3017afc912154ab2ee7da (diff)
downloadcaja-eb4866501e0ab9114c3ea459d3d4aa437194d961.tar.bz2
caja-eb4866501e0ab9114c3ea459d3d4aa437194d961.tar.xz
[desktop-icon-view] don't use gdk_drawable_get_screen()
http://git.gnome.org/browse/nautilus/commit/?id=b1aac113ef867846fb39ee4187378c6f1a13f33e
Diffstat (limited to 'src')
-rw-r--r--src/file-manager/fm-desktop-icon-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c
index 005bc198..232b198a 100644
--- a/src/file-manager/fm-desktop-icon-view.c
+++ b/src/file-manager/fm-desktop-icon-view.c
@@ -217,7 +217,7 @@ net_workarea_changed (FMDesktopIconView *icon_view,
}
else
{
- screen = gdk_drawable_get_screen (GDK_DRAWABLE (window));
+ screen = gdk_window_get_screen (window);
icon_container_set_workarea (
icon_container, screen, workareas, length_returned / sizeof (long));