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
1 changed files with 5 additions and 0 deletions

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 */