[Patch] replace custom macro with GLib



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.

Attachment: fix-elements-macro.diff.bz2
Description: application/bzip

Attachment: pgpFKLPPvkruc.pgp
Description: PGP signature



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