[Patch] GMimeGpgmeSigstat: use G_DECLARE_FINAL_TYPE(), G_DEFINE_TYPE()



Hi all,

attached is a rather simple patch which implements GMimeGpgmeSigstat using the modern G_DECLARE_FINAL_TYPE() 
and G_DEFINE_TYPE() macros.

Please note that this patch goes on top of the “make GpgME/E2EE support a hard requirement” one I submitted 
yesterday.

Opinions?

Cheers,
Albrecht.

---
Patch details:
- libbalsa/gmime-gpgme-signature.ch: implement GMimeGpgmeSigstat using G_DECLARE_FINAL_TYPE() and 
G_DEFINE_TYPE(); implement getter/setter functions
- libbalsa/body.c, libbalsa/gmime-multipart-crypt.c, libbalsa/rfc3156.c, src/balsa-message.c, 
src/balsa-mime-widget-crypto.c, src/balsa-mime-widget-message.c, src/balsa-print-object-header.c: use getter 
functions instead of accessing the object properties
- libbalsa/libbalsa-gpgme.c: use setter functions instead of manipulating the object propertiy directly
- libbalsa/libbalsa-gpgme-widgets.[ch] key argument to libbalsa_gpgme_key() is const

Attachment: signature-object.diff.bz2
Description: application/bzip

Attachment: pgpazp3ynXQJQ.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]