From 98b5aff257700527963808f55e79e8275db0ee0a Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 27 Feb 2020 09:26:25 +0100 Subject: =?UTF-8?q?gs-window-x11:=20Remove=20warning=20"variable=20?= =?UTF-8?q?=E2=80=98widget=E2=80=99=20set=20but=20not=20used"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gs-window-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gs-window-x11.c') 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)); -- cgit v1.2.1