Code refactoring: replaced macro 'XDND' by 'USE_DOCK_XDND' for consistency
commitb4cf94aacd0f9fcffd802b0a8e47e0d162ca1f20
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 6 Apr 2015 15:58:12 +0000 (6 17:58 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 18 Apr 2015 22:29:37 +0000 (18 23:29 +0100)
treed5c2f73bf68bdf42b3b7ca18b3429198e4b640a4
parent2ebfcd9c5c9350d89f2346304ed8c02883020785
Code refactoring: replaced macro 'XDND' by 'USE_DOCK_XDND' for consistency

The usual way to define a macro in is to name macro with 'USE_xxx' when
they are used to enable a feature 'xxx'.

As the feature concerns the Dock and not DnD in general (WINGs support is
not disabled), make it a bit more clear in the macro name and document the
configure flag in the Installation Manual.

Took opportunity to compile the corresponding file only when the feature is
not disabled.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
14 files changed:
configure.ac
doc/build/Compilation.texi
src/Makefile.am
src/appicon.c
src/appicon.h
src/dialog.c
src/dock.c
src/dock.h
src/dockedapp.c
src/event.c
src/misc.c
src/screen.h
src/startup.c
src/xdnd.c