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 #819470 ยป 0015-gtk3x-Avoid-gtk_icon_size_lookup-usage.patch

Marko Lindqvist, 2019-06-02 12:31 AM

View differences:

client/gui-gtk-4.0/plrdlg.c
**************************************************************************/
GdkPixbuf *create_player_icon(const struct player *plr)
{
int width, height;
int width = 20;
int height = 20;
GdkPixbuf *tmp;
cairo_surface_t *surface;
struct color *color;
......
return NULL;
}
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
cr = cairo_create(surface);
    (1-1/1)