Recursively traverse the path and put the files and subdirectory in to a newly allocated GLists, if the this is a directory.
Otherwise returns NULL.
this |
An IBusObservedPath. |
dir_only |
Only looks for subdirs, not files |
A newly allocate GList which holds content in path; NULL if this is not directory. |