mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-21 13:10:19 +00:00
Fix icon rendering in HexChat (sub)windows
This commit is contained in:
@@ -820,7 +820,12 @@ show_and_unfocus (GtkWidget * wid)
|
|||||||
void
|
void
|
||||||
gtkutil_set_icon (GtkWidget *win)
|
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);
|
gtk_window_set_icon (GTK_WINDOW (win), pix_hexchat);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
extern GtkWidget *parent_window; /* maingui.c */
|
extern GtkWidget *parent_window; /* maingui.c */
|
||||||
|
|||||||
Reference in New Issue
Block a user