[nautilus] desktop-icon-view: don't use gdk_drawable_get_screen



commit b1aac113ef867846fb39ee4187378c6f1a13f33e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Sep 29 14:27:29 2010 +0200

    desktop-icon-view: don't use gdk_drawable_get_screen

 src/file-manager/fm-desktop-icon-view.c |    2 +-
 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 8316f3c..b2cfb05 100644
--- a/src/file-manager/fm-desktop-icon-view.c
+++ b/src/file-manager/fm-desktop-icon-view.c
@@ -211,7 +211,7 @@ net_workarea_changed (FMDesktopIconView *icon_view,
 		nautilus_icon_container_set_margins (icon_container,
 						     0, 0, 0, 0);
 	} 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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]