diff options
author | rbuj <[email protected]> | 2020-02-27 09:26:25 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2020-03-10 17:01:50 +0100 |
commit | 98b5aff257700527963808f55e79e8275db0ee0a (patch) | |
tree | b2763a2908e4878a90a985801a23a80476a627ed /src/gs-window-x11.c | |
parent | 29762c0d0be64bccfcda3f59241e12dca92ec2aa (diff) | |
download | mate-screensaver-98b5aff257700527963808f55e79e8275db0ee0a.tar.bz2 mate-screensaver-98b5aff257700527963808f55e79e8275db0ee0a.tar.xz |
gs-window-x11: Remove warning "variable ‘widget’ set but not used"
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r-- | src/gs-window-x11.c | 2 |
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)); |