1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 12:42:16 -05:00

Fix icon rendering in HexChat (sub)windows

This commit is contained in:
Berke Viktor 2012-11-03 09:10:38 +01:00
parent a9c7e40b5b
commit 7c1d2366b1

View File

@ -820,7 +820,12 @@ show_and_unfocus (GtkWidget * wid)
void
gtkutil_set_icon (GtkWidget *win)
{
#ifndef WIN32
/* FIXME: Magically breaks icon rendering in most
* (sub)windows, but OFC only on Windows. GTK <3
*/
gtk_window_set_icon (GTK_WINDOW (win), pix_hexchat);
#endif
}
extern GtkWidget *parent_window; /* maingui.c */