[gtk+/refactor: 3/145] gtkwindow-decorate: use accessor functions to access GtkWidget



commit 2b53b3d50aff4cac6675ba4bbb3c67493eb4232d
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Aug 11 22:03:51 2010 +0200

    gtkwindow-decorate: use accessor functions to access GtkWidget

 gtk/gtkwindow-decorate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow-decorate.c b/gtk/gtkwindow-decorate.c
index 010b76e..9aa2dd8 100644
--- a/gtk/gtkwindow-decorate.c
+++ b/gtk/gtkwindow-decorate.c
@@ -816,7 +816,7 @@ gtk_decorated_window_move_resize_window (GtkWindow   *window,
 					 gint         width,
 					 gint         height)
 {
-  gdk_window_move_resize (GTK_WIDGET (window)->window,
+  gdk_window_move_resize (gtk_widget_get_window (GTK_WIDGET (window)),
 			  x, y, width, height);
 }
 #endif



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