From 23d32f9a035d12af9d0e6c0595f4e62f1970586c Mon Sep 17 00:00:00 2001 From: Andre Miranda Date: Mon, 2 Apr 2018 11:04:17 -0300 Subject: [PATCH] Fix segfault on exit (Bug #14320) --- src/process-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process-window.c b/src/process-window.c index de80028..4068403 100644 --- a/src/process-window.c +++ b/src/process-window.c @@ -539,7 +539,7 @@ static void xtm_process_window_hide (GtkWidget *widget) { gint winx, winy; - g_return_if_fail (GTK_IS_WIDGET (widget)); + g_return_if_fail (XTM_IS_PROCESS_WINDOW (widget)); if (!GTK_IS_WIDGET (XTM_PROCESS_WINDOW (widget)->window)) return; gtk_window_get_position (GTK_WINDOW (XTM_PROCESS_WINDOW (widget)->window), &winx, &winy); -- 2.16.3