Bug #2188 » 0038-gtk4-Fix-failed-asserts-when-tileset-does-not-have-a.patch
| client/gui-gtk-4.0/citydlg.c | ||
|---|---|---|
|
gtk_list_store_set(store, &iter, 0, pix,
|
||
|
1, name, 3, useless,
|
||
|
2, (gint)cid_encode(items[item].item), -1);
|
||
|
g_object_unref(G_OBJECT(pix));
|
||
|
if (pix != NULL) {
|
||
|
g_object_unref(G_OBJECT(pix));
|
||
|
}
|
||
|
if (are_universals_equal(target, &pcity->production)) {
|
||
|
cur = actcount;
|
||
| client/gui-gtk-4.0/wldlg.c | ||
|---|---|---|
|
}
|
||
|
pix = sprite_get_pixbuf(sprite);
|
||
|
g_object_set(rend, "pixbuf", pix, NULL);
|
||
|
g_object_unref(G_OBJECT(pix));
|
||
|
if (pix != NULL) {
|
||
|
g_object_unref(G_OBJECT(pix));
|
||
|
}
|
||
|
if (VUT_UTYPE == target.kind) {
|
||
|
free_sprite(sprite);
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »