diff options
Diffstat (limited to 'widgets/table/e-tree-memory.c')
-rw-r--r-- | widgets/table/e-tree-memory.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c index a221512c18..4ea1e01c3d 100644 --- a/widgets/table/e-tree-memory.c +++ b/widgets/table/e-tree-memory.c @@ -18,8 +18,8 @@ * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. */ #include <config.h> @@ -421,9 +421,18 @@ e_tree_memory_new (void) return (ETreeMemory *) g_object_new (E_TREE_MEMORY_TYPE, NULL); } +/** + * e_tree_memory_set_expanded_default + * + * Sets the state of nodes to be append to a thread. + * They will either be expanded or collapsed, according to + * the value of @expanded. + */ void e_tree_memory_set_expanded_default (ETreeMemory *etree, gboolean expanded) { + g_return_if_fail (etree != NULL); + etree->priv->expanded_default = expanded; } |