Home GnuPG
Diffusion GpgOL 5d62fdbfc5b0

Fix resource id's and remove unused resources.
5d62fdbfc5b0Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix resource id's and remove unused resources.

* dialogs.h: Only use the upper 28 bit for id's. Remove 32/64px ids.
* oomhelp.cpp (put_oom_icon): Clarify comment and use new ids for mask.
* explorers.cpp (add_explorer_controls),
 inspectors.cpp (add_inspector_controls, update_crypto_info):
  Use _16 id directly.
* decrypt-32.bmp,
 decrypt-32m.bmp,
 decrypt-verify-32.bmp,
 decrypt-verify-32m.bmp,
 encrypt-32.bmp,
 encrypt-32m.bmp,
 key-manager-32.bmp,
 key-manager-32m.bmp,
 key-manager-64.bmp,
 key-manager-64m.bmp,
 sign-32.bmp,
 sign-32m.bmp,
 verify-32.bmp,
 verify-32m.bmp: Removed

The binutils 2.25 complained about resource merge failures because
the upper 28 bits from some of our resoruce were identical and the
last four bits are appearently used by microsoft for some kind of
string table lookup.

While fixing this I've noticed that the 32 / 64 px size bitmap
resources were not used anywhere. So they are removed now.

Details

Provenance
aheineckeAuthored on Oct 14 2015, 2:33 PM
Parents
rO7bf40a952a18: Enable -Werror in maintainer-mode
Branches
Unknown
Tags
Unknown