mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-05-03 20:51:15 +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
|
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user