[nautilus] [src] GSEAL nautilus-desktop-window.



commit 45fc9cc4fae20e69e12ca14b767277d190978c71
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 11 13:21:07 2010 +0200

    [src] GSEAL nautilus-desktop-window.

 src/nautilus-desktop-window.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
index b4219d0..907713f 100644
--- a/src/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -156,7 +156,7 @@ map (GtkWidget *widget)
 {
 	/* Chain up to realize our children */
 	GTK_WIDGET_CLASS (nautilus_desktop_window_parent_class)->map (widget);
-	gdk_window_lower (widget->window);
+	gdk_window_lower (gtk_widget_get_window (widget));
 }
 
 
@@ -229,9 +229,9 @@ realize (GtkWidget *widget)
 	GTK_WIDGET_CLASS (nautilus_desktop_window_parent_class)->realize (widget);
 
 	/* This is the new way to set up the desktop window */
-	set_wmspec_desktop_hint (widget->window);
+	set_wmspec_desktop_hint (gtk_widget_get_window (widget));
 
-	set_desktop_window_id (window, widget->window);
+	set_desktop_window_id (window, gtk_widget_get_window (widget));
 
 	g_signal_connect (gtk_window_get_screen (GTK_WINDOW (window)), "size_changed",
 			  G_CALLBACK (nautilus_desktop_window_screen_size_changed), window);



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