summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-27 09:26:25 +0100
committerZenWalker <[email protected]>2020-03-10 17:01:50 +0100
commit98b5aff257700527963808f55e79e8275db0ee0a (patch)
treeb2763a2908e4878a90a985801a23a80476a627ed /src
parent29762c0d0be64bccfcda3f59241e12dca92ec2aa (diff)
downloadmate-screensaver-98b5aff257700527963808f55e79e8275db0ee0a.tar.bz2
mate-screensaver-98b5aff257700527963808f55e79e8275db0ee0a.tar.xz
gs-window-x11: Remove warning "variable ‘widget’ set but not used"
Diffstat (limited to 'src')
-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));