Get the root directory; you must have loaded the tree first (at least once) via gmenu_tree_load_sync or a variant thereof.
gmenu_tree_load_sync
a Tree
Root of the tree