mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 11:39:44 +00:00
Bugfix: Fixes #347, closing a program causes wintc-taskband to segfault / crash
This commit is contained in:
@@ -58,7 +58,11 @@ static GdkPixbuf* xfw_window_get_mini_icon(
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user