diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-03 09:10:38 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-03 09:10:38 +0100 |
commit | 7c1d2366b1a57a6ab244074f80adef2c8c66ef35 (patch) | |
tree | 76062398a7cb7ba50b8e414e8f6118cb5fad1807 | |
parent | a9c7e40b5b7d7d2575d9238d6dc8f3dce8e4c6b3 (diff) |
Fix icon rendering in HexChat (sub)windows
-rw-r--r-- | src/fe-gtk/gtkutil.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |