src/layout_set.c
/*!
 * Ensures that the node contains a child.
 * @param set the node.
 * @returns the child node.
 */
Ensures that the node contains a child.
@param set the node.
@returns the child node.
Ensures that the node contains a child . @param set the node . @returns the child node .
static struct layout_set *layout_set_ensure_next(struct layout_set *set)
{
	if (set->list_next == NULL) {
		PangoContext *context = pango_layout_get_context(set->layout);
		set->list_next = layout_set_new(context);
	}
	return set->list_next;
}
static struct layout_set * layout_set_ensure_next ( struct layout_set * set ) { if ( set -> list_next == NULL ) { PangoContext * context = pango_layout_get_context ( set -> layout ) ; set -> list_next = layout_set_new ( context ) ; } return set -> list_next ; }
Ensures that the node contains a child.
Ensures that the node contains a child .