Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #852689 ยป 0004-gtk3x-Replace-gtk_window_set_icon-call.patch

Marko Lindqvist, 2019-12-16 07:06 AM

View differences:

client/gui-gtk-4.0/citydlg.c
/* keep the icon of the executable on Windows (see PR#36491) */
#ifndef FREECIV_MSWINDOWS
{
GdkPixbuf *pixbuf = sprite_get_pixbuf(get_icon_sprite(tileset, ICON_CITYDLG));
GdkTexture *icon = gdk_texture_new_for_pixbuf(pixbuf);
/* Only call this after tileset_load_tiles is called. */
gtk_window_set_icon(GTK_WINDOW(pdialog->shell), icon);
g_object_unref(pixbuf);
gtk_window_set_icon_name(GTK_WINDOW(pdialog->shell), "citydlg");
}
#endif /* FREECIV_MSWINDOWS */
    (1-1/1)