[Patch] replace custom macro with GLib

Albrecht Dreß <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi all,

in several places, a custom macro “ELEMENTS” is used, which is equivalent to GLibs “G_N_ELEMENTS”.  For clarity, the attached trivial patch replaces all occurrences with the latter (plus a not-so-trivial one in src/toolbar-factory.c).

Affected files: libbalsa/filter-funcs.c, libbalsa/identity.c, libbalsa/imap/imap-commands.c, libbalsa/imap/imap-handle.c, libbalsa/libbalsa.h, libbalsa/mailbox.c, src/balsa-index.c, src/balsa-mblist.c, src/filter-edit-callbacks.c, src/filter-edit-dialog.c, src/main-window.c, src/sendmsg-window.c, src/toolbar-factory.c.

Opinions?

Cheers,
Albrecht.

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
fix-elements-macro.diff.bz2 (application/x-bzip, 4.5 KB) - not displayed
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAlwAMGcACgkQTKlvDmfn
2fjwZAgAlO3djLXiAI8EhGLqOBX/4tEQb56+bEJp+0vfQZAIAxNSxP0ezuglbajH
rH4pFDPvSAB9qVvpQLOff9AoYXiDob8+ouSknONeZs5bW0ih7dieZSwOADLDF6Pn
2PuVU8pNxxXrbOE8ajIt08xKlrEx6ADrDnoqJ6mhGldccQMmkjfEeGsj5ZKJSiIK
CtKM2o88V2nUkIfl/NF2ywXrwi5MgjpbMWA+A24BwQiVgOeCXJlGpB+pTBvD4WUL
Ce0QxzzVyCsLA0MbHMxhw6EiL/GuJpZ986fiMqCHA/+jPqJ+L7rvqmiX4oght5QE
eUWcTq9mld3U2cu2Jmd3MXu1rxBgrg==
=I1rf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.