From 7c1d2366b1a57a6ab244074f80adef2c8c66ef35 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 3 Nov 2012 09:10:38 +0100 Subject: Fix icon rendering in HexChat (sub)windows --- src/fe-gtk/gtkutil.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index 08abebc4..e44c3d59 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -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 */ -- cgit 1.4.1