Yes, I defined a
debug()
function/macro you can use. It follows the same semantic as
printf. (See
man 3 printf for details, or just
perform a
grep debug * from
src/ to have some usage
example).
For having
debug() actually
generating instumentation code (not only being a nop), you
need to pass along the
--enable-debug to
configure at configuration time.
One last tip: there is no need to go through the whole
configure/make/make install process everytime you make a
change. Just do once:
./configure --enable-debug [other_switches]
cd src
And then, for compiling and debugging, do, as many time as
needed from
src/:
make # Compilation
./adesklets : # Direct mode testing
And yes: I do not know if ROX-Filler desktop detection is
related to nautilus desktop detection. If it is, fine. If it
is not, do not alter the
xwindow_get_nautilus_desktop() function,
but create instead a new
xwindow_get_rox_filer_desktop() or
similar that you will call appropriately from
xwindow_get_root_window().