summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 3805e6f..c1c9fc8 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -380,7 +380,7 @@ gs_window_move_resize_window (GSWindow *window,
GdkWindow *gdkwindow;
widget = GTK_WIDGET (window);
- gdkwindow = gtk_widget_get_window (GTK_WIDGET (window));
+ gdkwindow = gtk_widget_get_window (widget);
g_assert (gtk_widget_get_realized (widget));