/* Register a module that will have preferences. Specify the module under which to register it or NULL to register it at the top level, the name used for the module in the preferences file, the title used in the tab for it in a preferences dialog box, and a routine to call back when we apply the preferences.  */
module_t* prefs_register_module(module_t *parent, const char *name, const char *title, const char *description, void(*apply_cb)(void), const gboolean use_gui)
/* Register a module that will have preferences. Specify the module under which to register it or NULL to register it at the top level, the name used for the module in the preferences file, the title used in the tab for it in a preferences dialog box, and a routine to call back when we apply the preferences.  */
module_t* prefs_register_module(module_t *parent, const char *name, const char *title, const char *description, void(*apply_cb)(void), const gboolean use_gui)
{
    return prefs_register_module_or_subtree(parent, name, title, description,
                                            FALSE, apply_cb, use_gui);
}