Bugfix: Fixes #347, closing a program causes wintc-taskband to segfault / crash

This commit is contained in:
Rory Fewell
2024-11-26 22:06:41 +00:00
parent b057d92578
commit 87c5c09763

View File

@@ -58,7 +58,11 @@ static GdkPixbuf* xfw_window_get_mini_icon(
WinTCWndMgmtWindow* window WinTCWndMgmtWindow* window
) )
{ {
return p_xfw_window_get_icon(window, 16, 1); GdkPixbuf* icon = p_xfw_window_get_icon(window, 16, 1);
g_object_ref(icon);
return icon;
} }
static void xfw_window_minimize( static void xfw_window_minimize(