Partial fix for bug #12409 (https://gna.org/bugs/index.php?12409).
Updated the add_struct() method to match that of the internal structural object.
Authored by: bugman 2008-10-05
Parent: [r7510]
Child: [r7512]