[nautilus] canvas-container: don't force native window for the desktop canvas



commit 6d6bf1e7c6049b4bd300ae1d90833a8b5fcf30c4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Feb 19 23:46:42 2013 -0500

    canvas-container: don't force native window for the desktop canvas

 libnautilus-private/nautilus-canvas-container.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-container.c b/libnautilus-private/nautilus-canvas-container.c
index aa0863f..ce3ae97 100644
--- a/libnautilus-private/nautilus-canvas-container.c
+++ b/libnautilus-private/nautilus-canvas-container.c
@@ -3862,12 +3862,6 @@ realize (GtkWidget *widget)
 
        container = NAUTILUS_CANVAS_CONTAINER (widget);
 
-       /* Ensure that the desktop window is native so the background
-          set on it is drawn by X. */
-       if (container->details->is_desktop) {
-               gdk_x11_window_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget)));
-       }
-
        /* Set up DnD.  */
        nautilus_canvas_dnd_init (container);
 


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